[buddypress-trac] [BuddyPress Trac] #9033: Breaks twentyfifteen theme menu

buddypress-trac noreply at wordpress.org
Thu Dec 14 00:59:05 UTC 2023


#9033: Breaks twentyfifteen theme menu
--------------------------+------------------------------
 Reporter:  shawfactor    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  reporter-feedback =>
 * severity:  normal => major


Comment:

 I found the `no-js` body class on the home page, with both BuddyPress
 Legacy and BuddyPress Nouveau 12.0.0, when JavaScript was enabled.

 Version 11.1.0 had printed a
 [https://plugins.trac.wordpress.org/browser/buddypress/tags/11.1.0/bp-
 themes/bp-default/functions.php#L799 special script that switched the
 class to `js`], which is no longer available. Similar code is in
 [https://plugins.trac.wordpress.org/browser/buddypress/tags/12.0.0/bp-
 templates/bp-nouveau/js/buddypress-nouveau.js#L67 the `bp-nouveau`
 script], but somehow my site does not enqueue that script (at least on the
 front page).

 I noticed the body class in Twenty Fourteen, Twenty Fifteen, Twenty
 Twenty, Twenty Twenty-Two, Twenty Twenty-Three and Twenty Twenty-Four.
 However, [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwentyone/inc/template-functions.php?rev=56549#L76
 Twenty Twenty-One specifically removes it] from the `body` element.

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


More information about the buddypress-trac mailing list