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

Mark the Prominence metabox as a backwards-compatibility metabox #1655

Merged
merged 3 commits into from
Apr 19, 2019

Conversation

benlk
Copy link
Collaborator

@benlk benlk commented Mar 26, 2019

This change:

For #1654, resolves the issue with the Prominence metabox, but doesn't resolve the issue of there being two "Featured Image" metaboxes.

This change:

- Removes Largo's custom "Prominence" meta box seen in the post admin on
Gutenberg editors by marking that as backwards-compat metabox as
described in https://wordpress.org/gutenberg/handbook/designers-developers/developers/backward-compatibility/meta-box/
- Stops passing a list of Prominence terms to the function
largo_prominence_meta_box, because that's not what the sixth parameter
on add_meta_box is for.

Resolves #1654
@benlk benlk added type: bug priority: normal Must be completed before release of this version of plugin. category: gutenberg Relating to general Gutenberg compatibility labels Mar 26, 2019
@benlk benlk added this to the 0.6.2 milestone Mar 26, 2019
@benlk
Copy link
Collaborator Author

benlk commented Mar 26, 2019

Testing that the box displays:

  • 5.0.3 with Classic editor
  • 5.0.3 without Classic editor

Testing that checkbox values are correctly saved and presented:

  • 4.9.current with Gutenberg plugin Gutenberg now requires WP > 5
  • 5.0.3 with Classic editor
  • 5.0.3 without Classic editor
  • 5.1.1 with Classic editor
  • 5.1.1 without Classic Editor
  • 5.2

@benlk benlk merged commit f850ce4 into 0.5-dev Apr 19, 2019
@benlk benlk deleted the 1654-post-prominence-metabox branch April 19, 2019 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: gutenberg Relating to general Gutenberg compatibility priority: normal Must be completed before release of this version of plugin. status: needs review type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant