[wp-trac] [WordPress Trac] #45206: Logic error in do_meta_boxes() for Gutenberg support

WordPress Trac noreply at wordpress.org
Sun Oct 28 13:54:15 UTC 2018


#45206: Logic error in do_meta_boxes() for Gutenberg support
--------------------------------+---------------------
 Reporter:  johnjamesjacoby     |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  5.0
Component:  Options, Meta APIs  |     Version:  5.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+---------------------

Comment (by birgire):

 In [attachment:"45206.patch"] there seems to be a typo:

 {{{
 $block_compatible |= (bool) $box['args']['__back_compat_meta_box'];

 }}}

 This will not be triggered by the plugin though.

 I assume it was meant to be:

 {{{
 $block_compatible != (bool) $box['args']['__back_compat_meta_box'];

 }}}


 > (The {{{is_array( $box['args'] )}}} check from 2016, r37913, supports
 this notion.)
 This changeset reference seems to be ajax related and unrelated to the
 ticket?

 > Related to #45112, and r43608.
 Also this changeset reference seems to be cron related and seems
 unrelated?

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


More information about the wp-trac mailing list