[wp-trac] [WordPress Trac] #34233: There is not a body class filter within the customizer.

WordPress Trac noreply at wordpress.org
Sat Oct 10 09:11:57 UTC 2015


#34233: There is not a body class filter within the customizer.
-------------------------------+------------------------------
 Reporter:  scofennell@…       |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:  3.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by westonruter):

 * keywords:   => reporter-feedback
 * version:  4.3.1 => 3.4


Comment:

 Welcome! Thank you for the suggestion.

 Why not just add the class name directly to widget itself as opposed to
 the entire `body`? If you add the CSS class name to a widget wrapper
 element if the user is a super admin, then the CSS selectors stay more
 modularly encapsulated with your widget.

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


More information about the wp-trac mailing list