[wp-trac] [WordPress Trac] #46157: Block Editor: Filter to hide screen options panel

WordPress Trac noreply at wordpress.org
Thu Jan 31 19:35:45 UTC 2019


#46157: Block Editor: Filter to hide screen options panel
--------------------------+-----------------------------
 Reporter:  aduth         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 The block editor introduced in WordPress 5.0 provides its own interface
 for managing Screen Options documents panels, in the "Options" entry of
 the menu found in the top-right of the screen.

 See:

 - https://github.com/WordPress/gutenberg/issues/10210
 - https://github.com/WordPress/gutenberg/pull/10215

 The Gutenberg plugin
 [https://github.com/WordPress/gutenberg/blob/62f61631bef4b97be519773eb1b949a847dc493c/gutenberg.php#L222
 adds a filter] to avoid having the screen options markup being present on
 the screen. As best I can discern, an equivalent filter was not added as
 part of the WordPress 5.0.

 In practice, it doesn't cause much an issue, only because Gutenberg's
 interface overlaps with the positioning of -- and thus obscures -- the
 Screen Options tab.

 Related: https://github.com/WordPress/gutenberg/pull/13569

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


More information about the wp-trac mailing list