Skip to content

Commit 1fea5e7

Browse files
Mamadukat-hamanodesrosj
authored
Plugin: Bump minimum required WordPress version to 6.7 (WordPress#70023)
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: desrosj <desrosj@git.wordpress.org>
1 parent 06bae56 commit 1fea5e7

30 files changed

+7
-12303
lines changed

.github/workflows/performance.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
name: Run performance tests
3434
runs-on: ubuntu-latest
3535
permissions:
36-
contents: read
36+
contents: read
3737
if: ${{ github.repository == 'WordPress/gutenberg' }}
3838
env:
3939
WP_ARTIFACTS_PATH: ${{ github.workspace }}/artifacts
@@ -76,13 +76,14 @@ jobs:
7676
- name: Compare performance with base branch
7777
if: github.event_name == 'push'
7878
# The base hash used here need to be a commit that is compatible with the current WP version
79-
# The current one is c7722262e65a3f4d0f1a2d1ad29eccb2069509e4 and it needs to be updated every WP major release.
79+
# The current one is 177c166a5eada898ad015f5efaf1c6fefa7042c4 and it needs to be updated every WP major release.
8080
# It is used as a base comparison point to avoid fluctuation in the performance metrics.
81+
# See: https://developer.wordpress.org/block-editor/explanations/architecture/performance/#update-the-reference-commit.
8182
run: |
8283
WP_VERSION="$(awk -F ': ' '/^Tested up to/{print $2}' readme.txt)"
8384
IFS=. read -ra WP_VERSION_ARRAY <<< "$WP_VERSION"
8485
WP_MAJOR="${WP_VERSION_ARRAY[0]}.${WP_VERSION_ARRAY[1]}"
85-
./bin/plugin/cli.js perf "$GITHUB_SHA" c7722262e65a3f4d0f1a2d1ad29eccb2069509e4 --tests-branch "$GITHUB_SHA" --wp-version "$WP_MAJOR"
86+
./bin/plugin/cli.js perf "$GITHUB_SHA" 177c166a5eada898ad015f5efaf1c6fefa7042c4 --tests-branch "$GITHUB_SHA" --wp-version "$WP_MAJOR"
8687
8788
- name: Compare performance with custom branches
8889
if: github.event_name == 'workflow_dispatch'

gutenberg.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Gutenberg
44
* Plugin URI: https://github.com/WordPress/gutenberg
55
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
6-
* Requires at least: 6.6
6+
* Requires at least: 6.7
77
* Requires PHP: 7.2
88
* Version: 20.7.0
99
* Author: Gutenberg Team
@@ -15,7 +15,7 @@
1515
### BEGIN AUTO-GENERATED DEFINES
1616
defined( 'GUTENBERG_DEVELOPMENT_MODE' ) or define( 'GUTENBERG_DEVELOPMENT_MODE', true );
1717
### END AUTO-GENERATED DEFINES
18-
defined( 'GUTENBERG_MINIMUM_WP_VERSION' ) or define( 'GUTENBERG_MINIMUM_WP_VERSION', '6.6' );
18+
defined( 'GUTENBERG_MINIMUM_WP_VERSION' ) or define( 'GUTENBERG_MINIMUM_WP_VERSION', '6.7' );
1919

2020

2121
gutenberg_pre_init();

lib/compat/wordpress-6.7/block-bindings.php

Lines changed: 0 additions & 82 deletions
This file was deleted.

lib/compat/wordpress-6.7/block-templates.php

Lines changed: 0 additions & 84 deletions
This file was deleted.

lib/compat/wordpress-6.7/blocks.php

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)