[wp-trac] [WordPress Trac] #45207: Meta-box compatibility warnings

WordPress Trac noreply at wordpress.org
Fri Oct 26 20:57:03 UTC 2018


#45207: Meta-box compatibility warnings
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  5.0
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 In the 5.0 branch, as part of merging Gutenberg, a warning is put out to
 the page when `WP_DEBUG` is on, meant to alert users which meta-boxes are
 incompatible.

 I believe these warnings are good natured and well intended, but should be
 removed or revisited.

 Every plugin that uses meta-boxes (including BuddyPress & bbPress) is
 going to end up with warnings in them. They make it impossible to have
 `WP_DEBUG` on and take screenshots of ongoing development work, without
 toggling the constant to remove these warnings.

 Code-wise, `! is_block_editor()` seems like an incorrect condition to
 check.

 As a plugin developer, the only time I want to know if my meta-boxes
 aren't compatible with anything (the Block Editor specifically) is when
 I've registered them to be but they still aren't.

 Otherwise, I already know they aren't, because I haven't flagged them as
 such. "Tell me something I don't know" kinda thing.

 Going to attach a few screenshots to show off how bad this is right now.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45207>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list