[wp-trac] [WordPress Trac] #45217: Allow falling back to classic editor via meta box registration.
WordPress Trac
noreply at wordpress.org
Wed Oct 31 23:54:20 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: needs-patch | Focuses:
---------------------------+---------------------
Comment (by peterwilsoncc):
In [attachment:"45217.diff"]:
* Introduces the `classic-editor` query string override for forcing
fallback to the classic editor
* Adds a function `use_block_editor_with_meta_boxes()` for compatibility
checking
* Calls the new function as a part of `use_block_editor_for_post()`
* Adds a second ''late'' check and forces a redirect in `src/wp-admin
/edit-form-blocks.php` to allow for meta boxes registered after the
`do_meta_boxes` actions are fired.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45217#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list