[wp-trac] [WordPress Trac] #24268: TwentyThirteen .reply styling bleeding into other styles

WordPress Trac noreply at wordpress.org
Mon May 6 04:37:01 UTC 2013


#24268: TwentyThirteen .reply styling bleeding into other styles
-----------------------------+-----------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  3.6
Component:  Bundled Theme    |    Version:
 Severity:  normal           |   Keywords:  has-patch
-----------------------------+-----------------------
 The .reply styling in TwentyThirteen assumes that comments are the only
 dom elements that will ever have the 'reply' class. This is true in
 !WordPress core, but plugins (like BuddyPress and bbPress) use the 'reply'
 class for activity stream items, topics, etc...

 We're used to fixing this in our own theme compatibility layers, and
 arguably some responsibility falls on us for using less ambiguous class
 names or more strict CSS, but in the case of `.reply`, I think there
 exists at least some possibility that other plugins might be using the
 same class (shopping carts, reviews, polls, etc...) and experience similar
 styling intersections.

 I've attached a patch that adds `.comment-list` before `.reply` to limit
 the scope of the style to the intended comments replies, for your
 consideration.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24268>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list