Changeset 13693 for branches/12.0/src/bp-core/bp-core-template.php
- Timestamp:
- 01/13/2024 09:54:16 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/src/bp-core/bp-core-template.php
r13690 r13693 1937 1937 $home_url = home_url( '/' ); 1938 1938 1939 if ( is_customize_preview() ) {1939 if ( is_customize_preview() && ! bp_is_email_customizer() ) { 1940 1940 $requested_url = wp_parse_url( $requested_url, PHP_URL_PATH ); 1941 1941 $home_url = wp_parse_url( $home_url, PHP_URL_PATH ); … … 3782 3782 3783 3783 /** 3784 * Outputs the BP Email's template footer. 3785 * 3786 * @since 12.1.0 3787 */ 3788 function bp_email_footer() { 3789 // `the_block_template_skip_link()` was deprecated in WP 6.4.0. 3790 if ( bp_is_running_wp( '6.4.0', '>=' ) && has_action( 'wp_footer', 'the_block_template_skip_link' ) ) { 3791 remove_action( 'wp_footer', 'the_block_template_skip_link' ); 3792 } 3793 3794 wp_footer(); 3795 } 3796 3797 /** 3784 3798 * Checks if a Widget/Block is active. 3785 3799 *
Note: See TracChangeset
for help on using the changeset viewer.