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

Documentation: fix registerBlockStyle arguments, clarify getSaveElement filter args #10163

merged 1 commit into from Sep 25, 2018


None yet
2 participants

joemaller commented Sep 25, 2018


Update arguments for wp.blocks.registerBlockStyle. The current example doesn't do anything because the hook expects an object with name and label keys.

How has this been tested?

This is a documentation fix.

Types of changes

Non-breaking change, documentation update.


(n/a? no changes to non-documentation files)

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

mkaz approved these changes Sep 25, 2018

Looks good, nice find!

@mkaz mkaz merged commit dd55e35 into WordPress:master Sep 25, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment