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/.github/workflows/unit-tests.yml

    r13684 r13718  
    2525            wp_version: '6.4'
    2626          - php: '7.4'
    27             wp_version: '5.8'
     27            wp_version: '6.1'
    2828    env:
    2929      WP_ENV_PHP_VERSION: ${{ matrix.php }}
     
    6666          composer-options: "--ignore-platform-reqs"
    6767
    68       - name: Adapt WP PHPUnit version for WP < 6.1
    69         run: |
    70           if [ ${{ env.WP_VERSION }} == '5.8' ]; then
    71             composer require wp-phpunit/wp-phpunit:6.0 --dev --ignore-platform-reqs
    72           fi
    73 
    7468      - name: Cache node modules
    7569        uses: actions/cache@v2
Note: See TracChangeset for help on using the changeset viewer.