Skip to content

Commit

Permalink
General: update WP version requirements to WordPress 6.4 (#37047)
Browse files Browse the repository at this point in the history
Now that WP 6.5 is out, we can start requiring a more recent version of WordPress, 6.4.

Epic: #33615
  • Loading branch information
jeherve authored Apr 24, 2024
1 parent 637658e commit e67ec35
Show file tree
Hide file tree
Showing 30 changed files with 84 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/files/setup-wordpress-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ case "$WP_BRANCH" in
previous)
# We hard-code the version here because there's a time near WP releases where
# we've dropped the old 'previous' but WP hasn't actually released the new 'latest'
TAG=6.3
TAG=6.4
;;
*)
echo "Unrecognized value for WP_BRANCH: $WP_BRANCH" >&2
Expand Down
2 changes: 1 addition & 1 deletion .phpcs.config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- This file configures everything except the list of rules. -->
<!-- The separation is so .github/files/phpcompatibility-dev-phpcs.xml can use the same config with a different rule set. -->
<ruleset>
<config name="minimum_supported_wp_version" value="6.3" />
<config name="minimum_supported_wp_version" value="6.4" />
<config name="testVersion" value="7.0-"/>

<!-- Use our custom filter for `.phpcsignore` and `.phpcs.dir.xml` support. -->
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"phan/phan": "^5.4",
"php-parallel-lint/php-parallel-lint": "1.3.2",
"php-stubs/woocommerce-stubs": ">=8.7",
"php-stubs/wordpress-stubs": ">=6.3",
"php-stubs/wordpress-tests-stubs": ">=6.3",
"php-stubs/wordpress-stubs": ">=6.4",
"php-stubs/wordpress-tests-stubs": ">=6.4",
"php-stubs/wp-cli-stubs": "^2.10",
"sirbrillig/phpcs-changed": "2.11.4",
"squizlabs/php_codesniffer": "^3.6.2"
Expand Down
28 changes: 14 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion projects/packages/compat/.phan/baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
*/
return [
// # Issue statistics:
// PhanDeprecatedFunction : 1 occurrence
// PhanPluginDuplicateConditionalNullCoalescing : 1 occurrence
// PhanTypeMismatchProperty : 1 occurrence

// Currently, file_suppressions and directory_suppressions are the only supported suppressions
'file_suppressions' => [
'lib/locales.php' => ['PhanPluginDuplicateConditionalNullCoalescing'],
'lib/locales.php' => ['PhanDeprecatedFunction', 'PhanPluginDuplicateConditionalNullCoalescing', 'PhanTypeMismatchProperty'],
],
// 'directory_suppressions' => ['src/directory_name' => ['PhanIssueName1', 'PhanIssueName2']] can be manually added if needed.
// (directory_suppressions will currently be ignored by subsequent calls to --save-baseline, but may be preserved in future Phan releases)
Expand Down
5 changes: 5 additions & 0 deletions projects/packages/compat/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Phan: update configuration


Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/automattic-for-agencies-client/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Automattic For Agencies Client ===
Contributors: automattic
Tags: agency, dashboard, management, sites, monitoring
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 0.1.0-alpha
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/backup/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/backup/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack VaultPress Backup ===
Contributors: automattic, bjorsch, fgiannar, initsogar, jeherve, jwebbdev, kraftbj, macbre, pypt, samiff, sermitr, williamvianas
Tags: jetpack, backup, restore
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 2.2
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/inspect/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/inspect/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack inspect ===
Contributors: automattic,
Tags: jetpack, stuff
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 1.0.0-alpha
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: compat

General: update WordPress version requirements to WordPress 6.4.
4 changes: 2 additions & 2 deletions projects/plugins/jetpack/jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
* Requires at least: 6.3
* Requires at least: 6.4
* Requires PHP: 7.0
*
* @package automattic/jetpack
Expand All @@ -32,7 +32,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

define( 'JETPACK__MINIMUM_WP_VERSION', '6.3' );
define( 'JETPACK__MINIMUM_WP_VERSION', '6.4' );
define( 'JETPACK__MINIMUM_PHP_VERSION', '7.0' );
define( 'JETPACK__VERSION', '13.4-a.6' );

Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav, alternatekev, andy, annamcphee, annezazu, apeatling, arcangelini, azaozz, barry, batmoo, beaulebens, bindlegirl, biskobe, bjorsch, blobaugh, brbrr, cainm, cena, cfinke, cgastrell, chaselivingston, chellycat, clickysteve, csonnek, danielbachhuber, daniloercoli, davoraltman, delawski, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, egregor, eliorivero, enej, eoigal, erania-pinnera, ethitter, fgiannar, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, joen, jblz, jeffgolenski, jeherve, jenhooks, jenia, jessefriedman, jgs, jkudish, jmdodd, joanrho, johnjamesjacoby, jshreve, kbrownkd, keoshi, koke, kraftbj, lancewillett, leogermani, lhkowalski, lschuyler, macmanx, martinremy, matt, mattwiebe, matveb, maverick3x6, mcsf, mdawaffe, mdbitz, MichaelArestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, nunyvega, obenland, oskosk, pento, professor44, rachelsquirrel, rdcoll, renatoagds, retrofox, richardmtl, richardmuscat, robertbpugh, roccotripaldi, ryancowles, samhotchkiss, samiff, scarstocea, scottsweb, sdixon194, sdquirk, sermitr, simison, stephdau, thehenridev, tmoorewp, tyxla, Viper007Bond, westi, williamvianas, wpkaren, yoavf, zinigor
Tags: Security, backup, malware, scan, performance
Stable tag: 13.3.1
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
License: GPLv2 or later
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/migration/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Move to WordPress.com ===
Contributors: automattic
Tags: migrate, migration, backup, restore, transfer, move, copy, wordpress.com, automattic, import, importer, hosting
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 2.0.0
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/protect/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/protect/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack Protect ===
Contributors: automattic, retrofox, leogermani, renatoagds, bjorsch, ebinnion, fgiannar, zinigor, miguelxavierpenha, dsmart, jeherve, manzoorwanijk, njweller, oskosk, samiff, siddarthan, wpkaren, arsihasi, kraftbj, kev, sermitr, kangzj, pabline, dkmyta
Tags: jetpack, protect, security, malware, scan
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 1.4.1
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/search/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/search/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack Search ===
Contributors: automattic, annamcphee, bluefuton, kangzj, jsnmoon, robfelty, gibrown, trakos, dognose24, a8ck3n
Tags: search, filter, woocommerce search, ajax search, product search, free cloud-based search
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 1.4.0
Expand Down
4 changes: 4 additions & 0 deletions projects/plugins/social/changelog/update-wp-requirements-64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/social/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack Social ===
Contributors: automattic, pabline, siddarthan, gmjuhasz, manzoorwanijk, danielpost
Tags: social-media, publicize, social-media-manager, social-networking, social marketing, social, social share, social media scheduling, social media automation, auto post, auto- publish, social share
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 2.3.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/starter-plugin/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Jetpack Starter Plugin ===
Contributors: automattic,
Tags: jetpack, stuff
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 0.1.0-alpha
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/super-cache/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== WP Super Cache ===
Contributors: donncha, automattic, adnan007, dilirity, mikemayhem3030, pyronaur, thingalon
Tags: performance, caching, wp-cache, wp-super-cache, cache
Requires at least: 6.3
Requires at least: 6.4
Requires PHP: 7.0
Tested up to: 6.5
Stable tag: 1.12.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

General: update WordPress version requirements to WordPress 6.4.
2 changes: 1 addition & 1 deletion projects/plugins/videopress/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: automattic, retrofox, oskosk, thehenridev, renatoagds, lhkowalski, nunyvega, leogermani, cgastrell
Tags: video, video-hosting, video-player, cdn, video-streaming

Requires at least: 6.3
Requires at least: 6.4
Tested up to: 6.5
Stable tag: 1.5
Requires PHP: 7.0
Expand Down
2 changes: 1 addition & 1 deletion tools/cli/commands/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ function createReadMeTxt( answers ) {
`=== Jetpack ${ answers.name } ===\n` +
'Contributors: automattic,\n' +
'Tags: jetpack, stuff\n' +
'Requires at least: 6.3\n' +
'Requires at least: 6.4\n' +
'Requires PHP: 7.0\n' +
'Tested up to: 6.5\n' +
`Stable tag: ${ answers.version }\n` +
Expand Down

0 comments on commit e67ec35

Please sign in to comment.