[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:16:58 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):

 Replying to [comment:6 peterwilsoncc]:
 > 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.

 Check the `ReflectionMethod` / `ReflectionFunction` thing in
 `do_meta_boxes()`: that could be turned into a function and reused where
 we need it. Reflections are pretty fast, I have no problem running them
 all the time.

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


More information about the wp-trac mailing list