Changeset 13692
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r13689 r13692 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 * -
trunk/src/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php
r12566 r13692 241 241 </center> 242 242 </td></tr></table> 243 <?php if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) wp_footer(); ?>243 <?php if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) bp_email_footer(); ?> 244 244 </body> 245 245 </html> -
trunk/src/bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php
r12566 r13692 243 243 <?php 244 244 if ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) { 245 wp_footer();245 bp_email_footer(); 246 246 } 247 247 ?>
Note: See TracChangeset
for help on using the changeset viewer.