[wp-trac] [WordPress Trac] #45037: Improve the WordPress Post editing experience
WordPress Trac
noreply at wordpress.org
Tue Nov 27 06:54:29 UTC 2018
#45037: Improve the WordPress Post editing experience
-------------------------------------------------+-------------------------
Reporter: jorbin | Owner: pento
Type: task (blessed) | Status: assigned
Priority: highest omg bbq | Milestone: 5.0
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: early needs-unit-tests has-patch | Focuses:
needs-testing |
-------------------------------------------------+-------------------------
Comment (by pento):
Thank you for the patch, @Frank Klein.
Given how close we are to 5.0, renaming `::is_block_editor()` isn't an
option. I'm not particularly fussed whether it acts as a setter or not,
which makes me lean towards not changing it.
An alternative option would be to provide an `is_block_editor()` function
(in the style of `is_admin()`, which returns the value of
`$GLOBALS['current_screen']->is_block_editor()`, but doesn't offer the
setter functionality.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45037#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list