Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2024 06:31:34 PM (16 months ago)
Author:
imath
Message:

Raise WordPress required version to 6.1

  • Do required WP version bumps.
  • Remove WP function/version checks when these were about WP version < 6.1.
  • Init the 14.0.0 deprecated functions file.
  • Update the GH PHP Unit Action and remove the 6.0 wp-phpunit/wp-phpunit composer package downgrade that was needed when testing WP version < 6.1.

Fixes #9051
Closes https://github.com/buddypress/buddypress/pull/226

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-template-loader.php

    r13686 r13718  
    465465     * BuddyPress then needs to use the WordPress template canvas to retrieve the community content.
    466466     */
    467     if ( bp_is_running_wp( '5.9.0', '>=' ) && wp_is_block_theme() ) {
     467    if ( wp_is_block_theme() ) {
    468468        $template = ABSPATH . WPINC . '/template-canvas.php';
    469469    }
     
    834834 */
    835835function 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' ) ) {
    837837        bp_deregister_template_stack( 'get_stylesheet_directory', 10 );
    838838        bp_deregister_template_stack( 'get_template_directory', 12 );
Note: See TracChangeset for help on using the changeset viewer.