Skip to content
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

Fix undefined variable localizing gutenberg-syndicated-post. #945

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

peterwilsoncc
Copy link
Collaborator

@peterwilsoncc peterwilsoncc commented Sep 27, 2022

Description of the Change

Fixes a bug introduced during requirement bump causing an undefined variable notice while enqueuing gutenberg-syndicated-post.js.

During the switch to wp-scripts, the use of the variable was replaced with the wp.i18n package so can be removed

See #905.
Follow up to 7be0237 in #917.

How to test the Change

Changelog Entry

Fixed - Undefined variable notice.

Credits

Props @peterwilsoncc, @Sidsector9

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@peterwilsoncc peterwilsoncc marked this pull request as ready for review September 27, 2022 06:15
@peterwilsoncc peterwilsoncc requested review from a team and cadic and removed request for a team September 27, 2022 06:15
@Sidsector9 Sidsector9 requested review from Sidsector9 and removed request for cadic September 27, 2022 07:09
@jeffpaul jeffpaul added this to the 2.0.0 milestone Sep 27, 2022
@peterwilsoncc peterwilsoncc merged commit dbe2ecc into develop Sep 27, 2022
@peterwilsoncc peterwilsoncc deleted the fix/892-undefined-i18n branch September 27, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants