[wp-trac] [WordPress Trac] #27697: wp-admin.css class="hidden" bug renders screen options menu in admin blank

WordPress Trac noreply at wordpress.org
Mon May 30 18:53:52 UTC 2022


#27697: wp-admin.css class="hidden" bug renders screen options menu in admin blank
-----------------------------+---------------------------------------------
 Reporter:  grabmedia        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  6.1
Component:  General          |     Version:  3.8.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  ui, javascript, administration
  needs-testing              |
-----------------------------+---------------------------------------------
Changes (by sabernhardt):

 * milestone:  Future Release => 6.1


Comment:

 I would welcome a script change that replaces the `show()` and `hide()`
 with classes, plus I would prefer replacing `slideUp()` and `slideDown()`
 with animation that respects reduced motion settings. However, I only
 updated the current patch because anything with a `hidden` class should
 not be expected to display.

 For testing [attachment:"27697.2.diff"]: Add `.hidden {display:none
 !important;}` to a stylesheet, either in a custom plugin or in a browser
 extension such as Stylus. (I could not find a plugin that always hides
 elements with the `hidden` class, and the browser extension mentioned on
 #54165 apparently fixed their implementation.)

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


More information about the wp-trac mailing list