Changeset 13718 for trunk/src/bp-core/bp-core-template-loader.php
- Timestamp:
- 01/29/2024 06:31:34 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template-loader.php
r13686 r13718 465 465 * BuddyPress then needs to use the WordPress template canvas to retrieve the community content. 466 466 */ 467 if ( bp_is_running_wp( '5.9.0', '>=' ) &&wp_is_block_theme() ) {467 if ( wp_is_block_theme() ) { 468 468 $template = ABSPATH . WPINC . '/template-canvas.php'; 469 469 } … … 834 834 */ 835 835 function bp_set_block_theme_compat() { 836 if ( bp_is_running_wp( '5.9.0', '>=' ) &&wp_is_block_theme() && current_theme_supports( 'buddypress' ) ) {836 if ( wp_is_block_theme() && current_theme_supports( 'buddypress' ) ) { 837 837 bp_deregister_template_stack( 'get_stylesheet_directory', 10 ); 838 838 bp_deregister_template_stack( 'get_template_directory', 12 );
Note: See TracChangeset
for help on using the changeset viewer.