[wp-trac] [WordPress Trac] #24054: (get_)comment_class() should include a is_user_member_of_blog() class

WordPress Trac noreply at wordpress.org
Mon Apr 20 20:25:44 UTC 2015


#24054: (get_)comment_class() should include a is_user_member_of_blog() class
------------------------------+-------------------------
 Reporter:  Viper007Bond      |       Owner:  jeremyfelt
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  4.2
Component:  Comments          |     Version:  3.5.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  multisite
------------------------------+-------------------------

Comment (by nacin):

 Replying to [comment:10 Viper007Bond]:
 > That seems really useful and pretty common for any multi-site setup. Why
 should a theme have to implement it's own functionality for this?

 Because the theme doesn't know whether they should be styling based on
 .byuser or .bysiteuser. It's probably not a decision a theme can or should
 make.

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


More information about the wp-trac mailing list