[wp-trac] [WordPress Trac] #45112: Integrate meta box support for the new editor
WordPress Trac
noreply at wordpress.org
Fri Dec 14 01:18:01 UTC 2018
#45112: Integrate meta box support for the new editor
---------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.0
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch fixed-5.0 | Focuses:
---------------------------------+---------------------
Comment (by pento):
In [changeset:"44132" 44132]:
{{{
#!CommitTicketReference repository="" revision="44132"
Meta Boxes: Add `__back_compat_meta_box` and
`__block_editor_compatible_meta_box` flags to meta boxes.
When meta boxes are registered, they can use the `__back_compat_meta_box`
and `__block_editor_compatible_meta_box` flags, to show whether this
registration just exists for if the classic editor is loaded, and whether
this meta box is compatible with the block editor.
When a meta box marks itself as incompatible with the block editor, and
`WP_DEBUG` is enabled, a warning will show inside that meta box in the
classic editor.
As all core meta boxes have been recreated in the block editor, they can
be marked with the `__back_compat_meta_box` flag.
Merges [43779] from the 5.0 branch to trunk.
See #45112.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45112#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list