[wp-trac] [WordPress Trac] #45217: Allow falling back to classic editor via meta box registration.
WordPress Trac
noreply at wordpress.org
Fri Nov 2 02:11:13 UTC 2018
#45217: Allow falling back to classic editor via meta box registration.
------------------------------------------------+---------------------
Reporter: peterwilsoncc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch ux-feedback needs-design | Focuses:
------------------------------------------------+---------------------
Comment (by peterwilsoncc):
@pento OK, I'll rework that this weekend. Are you able to suggest how I
determine the plugin/theme that registered the meta box. The only thing I
can think of is to use `debug_backtrace()` but it seems a little
expensive.
@karmatosed This is the copy I will use as placeholder until someone
better at micro copy changes it:
Block editor:
The {theme|plugin} {name} version {X} has registered input fields as
incompatible with the block editor. To continue using these fields, you
can {link}edit {post types} posts in the classic editor{/link}.
Classic editor:
You have chosen to use the classic editor for {post types} posts due to
the {theme|plugin} {name} version {X} has registering input fields as
incompatible with the block editor. If you don't wish to continue using
these fields, you can {link}edit {post types} posts in the block
editor{/link}.
Otherwise, we can always go with Cheaten' huh? ;)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45217#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list