[buddypress-trac] [BuddyPress Trac] #9304: 'no-js' body class not being added correctly since BuddyPress 12.1.0
buddypress-trac
noreply at wordpress.org
Tue Sep 9 04:50:21 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: Awaiting Review
Component: Templates | Version: 12.1.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
r13672 added `is_buddypress()` checks before adding the 'no-js' body
class.
However, the `is_buddypress()` check is done too early on the
'after_setup_theme' hook, so this means the 'no-js' body class is never
added since BuddyPress 12+ and when the rewrites parser is enabled.
Need to delay the check. See attached patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9304>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list