[wp-trac] [WordPress Trac] #45206: Logic error in do_meta_boxes() for Gutenberg support
WordPress Trac
noreply at wordpress.org
Sun Oct 28 20:28:21 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 johnjamesjacoby):
I’ve tweaked my WP User Profiles plugin to be an array in the next
release. It’s also odd how it not being an array manifests itself once
meta boxes are being output to the page.
Areas in WordPress core slyly avoid the error by having meta boxes without
titles, or otherwise passing null in areas to trigger their own unique
edge-cases.
Comments, Links, and Nav Menus all have their own little nuances, as does
the Block Editor now. I don’t believe any of that logic belongs in
`do_meta_boxes()` but that’s another ticket for another day. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45206#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list