[buddypress-trac] [BuddyPress Trac] #9308: Risky: bp-groups-template.php adds ".hidden" class.

buddypress-trac noreply at wordpress.org
Fri Dec 26 01:37:30 UTC 2025


#9308: Risky: bp-groups-template.php adds ".hidden" class.
-------------------------+---------------------
 Reporter:  t.schwarz    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  14.5.0
Component:  Groups       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by vapvarun):

 Created a patch implementing the backwards-compatible approach discussed
 above.

 The fix adds a prefixed group-status-{status} class (e.g., group-status-
 hidden, group-status-public, group-status-private) while keeping the old
 non-prefixed class for backwards compatibility. Added a @todo comment
 noting the non-prefixed class should be removed in a future major version.

 This gives theme/plugin authors time to update their CSS selectors while
 preventing the Bootstrap .hidden trap from affecting new installations.

 Thanks @t.schwarz for the report and @dcavins, @noruzzaman for the
 discussion.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9308#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list