[wp-trac] [WordPress Trac] #45172: Custom meta boxes do not show up

WordPress Trac noreply at wordpress.org
Mon Oct 29 02:25:28 UTC 2018


#45172: Custom meta boxes do not show up
--------------------------------------------+-----------------------
 Reporter:  zodiac1978                      |       Owner:  pento
     Type:  defect (bug)                    |      Status:  assigned
 Priority:  normal                          |   Milestone:  5.0
Component:  Editor                          |     Version:  5.0
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+-----------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch needs-testing => has-patch needs-testing commit


Comment:

 I've tested [attachment:"45172.diff"] with the various
 [https://wordpress.org/gutenberg/handbook/extensibility/meta-box/ callback
 arguments introduced for 5.0].

 * `__block_editor_compatible_meta_box` does toggle the display correctly
 on the new editor. Setting the option to false does not cause the post
 type to fall back to the classic editor but that can be dealt with on
 another ticket.
 * `__back_compat_meta_box` also toggles display correctly.

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


More information about the wp-trac mailing list