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

WordPress Trac noreply at wordpress.org
Mon Oct 29 03:12:00 UTC 2018


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

 * keywords:   => has-patch
 * owner:  (none) => pento
 * status:  new => assigned


Comment:

 Thanks for the bug report and the patch, @johnjamesjacoby!

 I agree that we need to handle `args` not being an array, this patch does
 the job nicely.

 While I'm there, I'll also make the logic that @birgire referred to a
 little clearer. 🙂

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


More information about the wp-trac mailing list