[wp-trac] [WordPress Trac] #22052: Add `no-customize-support` to default body classes

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 30 08:21:36 UTC 2012


#22052: Add `no-customize-support` to default body classes
--------------------------+------------------------------
 Reporter:  DrewAPicture  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Toolbar       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by DrewAPicture):

 * cc: xoodrew@… (added)


Comment:

 Replying to [comment:1 SergeyBiryukov]:
 > Should `no-customize-support` only be added if `is_admin_bar_showing()`?
 In that case, the braces are missing.

 The only instance of `hide-if-no-customize` on the front-end is on the
 Customize link in the Toolbar, so if it isn't showing, the class is moot.
 [attachment:22052.2.diff] adds the braces.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22052#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list