[wp-trac] [WordPress Trac] #52363: use_block_editor_for_post() does not check if post supports editor

WordPress Trac noreply at wordpress.org
Thu Feb 18 22:03:48 UTC 2021


#52363: use_block_editor_for_post() does not check if post supports editor
--------------------------+-----------------------------
 Reporter:  gudmdharalds  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  5.6
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------

Comment (by peterwilsoncc):

 I do hear your concerns, I really do, but it's the nature of systems with
 a plugin architecture that for things to remain flexible the system needs
 to allow plugins to make mistakes.

 If a plugin returns true (ie, use the block editor) for an attachment
 there isn't a way for WordPress to know if it's a mistake or if the plugin
 developer has rewritten the attachment screen to work in the block-editor.

 It would be nice if WordPress could protect against mistakes, but in order
 to allow developers make terrific improvements WordPress also needs to
 allow them to make mistakes, even quite serious ones.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52363#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list