-
Notifications
You must be signed in to change notification settings - Fork 30
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
Run on plugins_loaded to help fix PR #752 #884
Conversation
Preview changes with PlaygroundYou can preview the least recent changes for PR#884 by following one of the links below: |
@mauteri This is the bare-bones testing PR, to help with the new load order, we talked about. I tested locally, that when I also add the changes from 3c2230a (which belongs to https://github.com/carstingaxion/gatherpress/tree/fix/651) to that branch, the failing tests go down from 21 to 6. But those 6 are the same as in #752 |
@carstingaxion I thought about this more and I think the issue is one of the hooks in one of the singletons being at wrong priority and maybe that is what we need to explore and not wrapping everything in I can look at your previous PR and we can discuss next week and I can help you identify the issue you are running into and which hook is responsible. Thx! |
Thank you for the explanation. In general this is not new to me and this structure is one of the reasons I like GatherPress so much - its easy to understand & read. I like it.
Yes @mauteri, I guess this will be the path and I think we might start at #752 (comment):
|
As things are not complicated enough, I believe that I may have tried to prevent or workaround this 8 year old problem (without knowing about) https://core.trac.wordpress.org/ticket/38643 reported by ... checks notes ... @swissspidy Sometimes it's wild. |
I was not able to reproduce the former bug, so closing this as not needed anymore. Thats annoying, when you've spent plenty of time .... for nothing. |
This PR should help with the one big step, which is part of #752, loading the whole plugin on
plugins_loaded
.This became an urgent need to make l10n work properly, like described in detail by @swissspidy in #752 (comment).
Description of the Change
Closes #How to test the Change
Changelog Entry
Credits
Props @username, @username2, ...
Checklist: