[wp-trac] [WordPress Trac] #45217: Allow falling back to classic editor via meta box registration.

WordPress Trac noreply at wordpress.org
Thu Nov 22 23:40:19 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 pento):

 Thank you for the two patch, @jorgefilipecosta!

 @joen: The behaviour in the Gutenberg plugin was written in a super hacky
 way, due to there not being a good way to hook into the core behaviour.
 That method is not appropriate for core.

 Unfortunately, it's not possible to know when there's an incompatible meta
 box until we're in the middle of rendering the page, as meta boxes have
 historically been registered at random points during the page load. The
 more resilient UX would be something along the lines of
 [https://core.trac.wordpress.org/ticket/45217#comment:4 what I proposed
 earlier], but we unfortunately ran out of time to implement it.

 [attachment:"45217.3.diff"] is the way to go here, I'm going to modify it
 a bit and post a new patch shortly.

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


More information about the wp-trac mailing list