[buddypress-trac] [BuddyPress Trac] #9304: 'no-js' body class not being added correctly since BuddyPress 12.1.0

buddypress-trac noreply at wordpress.org
Fri Dec 26 01:04:12 UTC 2025


#9304: 'no-js' body class not being added correctly since BuddyPress 12.1.0
--------------------------+---------------------
 Reporter:  r-a-y         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  14.5.0
Component:  Templates     |     Version:  12.1.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by vapvarun):

 Tested 9304.01.patch - works as expected.

 Before patch: no-js class never added on BP pages because is_buddypress()
 returns false in constructor.

 After patch: no-js class properly added, then replaced with js by
 BuddyPress JavaScript.

 Thanks @r-a-y for the clean fix! +1 for commit.

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


More information about the buddypress-trac mailing list