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

WordPress Trac noreply at wordpress.org
Thu Jan 15 20:58:44 UTC 2015


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

 * focuses:  ui => ui, javascript, administration
 * component:  Administration => General


Comment:

 I agree that we should be toggling classes more often than setting CSS
 directly with JS (which is effectively what show() and hide() do). Would
 like to see a patch here. If we are worried about unintended side effects,
 we can add an `.is-hidden` class.

 However, I do want to note that on the whole I'm not really concerned
 about working around problems that arise from loading another admin
 framework (like Bootstrap) within the WordPress admin. I know core doesn't
 always provide all the UI tools needed, but there's enough generically
 named stuff in wp-admin.css that loading up another framework inside is
 almost definitely going to have side effects.

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


More information about the wp-trac mailing list