-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host/Domain change support added for local avatar url #216
Conversation
@jayedul Is this pull request ready for review? |
@ravinderk let's go ahead and proceed with review on the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jayedul I left one suggestion. Let me know if you have questions.
@faisal-alvi can you help with the PHPUnit failures here as well as general testing/code review to help get this ready for merge/release? |
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /var/www/html/wp-content/plugins/simple-local-avatars/includes/class-simple-local-avatars.php:342
The PHPUnit and Cypress test failures are fixed. Also, I've tested this in a single setup site, and it's working perfectly. I'd like to move forward with testing it in a multisite network setup before we proceed with the merge. Hopefully, I'll have some time next week to conduct that testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was tested in a multisite network, working as expected. Thanks for the work, everyone!
Note: Unable to merge, requires one more approval. cc @ravinderk |
@faisal-alvi pr approved 🤞 |
Description of the Change
Current domain/host will be used for local avatar URLs even after site migration.
Closes #64
How to test the Change
simple_local_avatar
user meta, maybe in database directly for easy test.Changelog Entry
Credits
Props @jayedul
Checklist: