Skip to content

Conversation

matgargano
Copy link
Contributor

  • added monkeypatch for wpWidgets.appendTitle and wpWidgets.save to hook initPostSelectionUIOnEvent for all use cases for WordPress 3.5 - 4.0 (including 1. on page load, 2. adding a brand new widget when none exist yet and 3. when saving and re-rendering of post-selection-ui
  • removed event bindings out of the else conditional. @jeffstieler one thing to note on this is that these event bindings are not necessary to get this to work in WP 3.5 - 4.0, but I would venture to guess this would help future compatibility (so long as the event emitters remain as is). Could you think of any reason why these would hurt to leave them in?
  • removed the console debug statements

@jeffstieler jeffstieler assigned johnciacia and unassigned jeffstieler Nov 6, 2014
Copy link
Contributor

@johnciacia johnciacia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about WP 4.9 compatibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants