Changeset 6605 for trunk/bp-core/bp-core-theme-compatibility.php
- Timestamp:
- 12/10/2012 01:39:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-theme-compatibility.php
r6536 r6605 476 476 477 477 // Add a filter on the_content late, which we will later remove 478 add_filter( 'the_content', 'bp_replace_the_content' ); 478 if ( ! has_filter( 'the_content', 'bp_replace_the_content' ) ) { 479 add_filter( 'the_content', 'bp_replace_the_content' ); 480 } 481 482 // Add BuddyPress's head action to wp_head 483 if ( ! has_action( 'wp_head', 'bp_head' ) ) { 484 add_action( 'wp_head', 'bp_head' ); 485 } 479 486 480 487 // Find the appropriate template file
Note: See TracChangeset
for help on using the changeset viewer.