Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2024 06:31:34 PM (3 years 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/admin/bp-core-admin-functions.php

    r13660 r13718  
    15501550        );
    15511551}
    1552 
    1553 /**
    1554  * Select the right `block_categories` filter according to WP version.
    1555  *
    1556  * @since 8.0.0
    1557  * @since 12.0.0 This category is left for third party plugin but not used anymmore.
    1558  *
    1559  * @todo deprecate.
    1560  */
    1561 function bp_block_init_category_filter() {
    1562         if ( function_exists( 'get_default_block_categories' ) ) {
    1563                 add_filter( 'block_categories_all', 'bp_block_category', 1, 2 );
    1564         } else {
    1565                 add_filter( 'block_categories', 'bp_block_category', 1, 2 );
    1566         }
    1567 }
    1568 add_action( 'bp_init', 'bp_block_init_category_filter' );
     1552add_filter( 'block_categories_all', 'bp_block_category', 1, 2 );
    15691553
    15701554/**
Note: See TracChangeset for help on using the changeset viewer.