-
Notifications
You must be signed in to change notification settings - Fork 44
Fixes for loading translations too early #757
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
Conversation
|
With this branch and the dev branch of the Framework, I'm still seeing the |
|
Sorry, meant to leave that last comment on the memberships PR. |
…le SV_WC_Plugin::init_hook_deprecator() method.
ajaynes-godaddy
left a comment
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.
LGTM
* Version 5.15.7 * Update versions in coffee files * Fixes for loading translations too early (#757) * Pass entire plugin instance into the deprecator class * Improve the 5.15.7 changelog entry in the SV_WC_Hook_Deprecator constructor. * Changelog language tweaks. * Add a changelog entry for the behavior change in the plugin-overridable SV_WC_Plugin::init_hook_deprecator() method. * Docblock for getPluginName(). --------- Co-authored-by: Andrew Jaynes <[email protected]> * Update a use of @import to @use for future compat with Dart Sass 3.0. * Pot file updates from npm run build. * Add a changelog entry for the the translations fixes. * s/logging/triggering --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ashley Gibson <[email protected]> Co-authored-by: Ashley Gibson <[email protected]> Co-authored-by: Andrew Jaynes <[email protected]>
Summary
Release: #755
This is a partial fix (not guaranteed to be 100% complete) to address errors like this:
Release: #755
Details
SV_WC_Hook_Deprecatorhas been updated to accept the entire plugin instance as a parameter instead of just the plugin name. That way we can callget_plugin_name()when actually used instead of inside the constructor.QA
Before merge