- Timestamp:
- 12/16/2023 10:39:57 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r13636 r13672 85 85 add_action( 'bp_enqueue_community_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization 86 86 87 /** Body no-js Class **************************************************/ 88 89 add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 ); 87 /** This filter is documented in bp-core/bp-core-dependency.php */ 88 if ( is_buddypress() || ! apply_filters( 'bp_enqueue_assets_in_bp_pages_only', true ) ) { 89 // Body no-js class. 90 add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 ); 91 } 90 92 91 93 /** Buttons ***********************************************************/
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)