Skip to content

Commit

Permalink
Require WordPress 6.3 or newer (#13617)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed May 6, 2024
1 parent a6f1836 commit f8de056
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 98 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-e2e.yml
Expand Up @@ -132,7 +132,7 @@ jobs:
matrix:
# TODO: add back Firefox once support is more mature.
browser: ['chrome']
wp: ['6.2']
wp: ['6.3']
snapshots: [false]
experimental: [false]
# We want to split up the tests into 2 parts running in parallel.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-unit-php.yml
Expand Up @@ -66,7 +66,7 @@ jobs:
experimental: false

- php: '7.4'
wp: '6.2'
wp: '6.3'
experimental: false

- php: '8.2'
Expand Down
283 changes: 193 additions & 90 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion phpcs.xml.dist
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<ruleset name="Web Stories PHP Coding Standards Rules">
<config name="minimum_supported_wp_version" value="6.2" />
<config name="minimum_supported_wp_version" value="6.3" />

<rule ref="WordPress-Core">
<type>error</type>
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Expand Up @@ -2,7 +2,7 @@

Contributors: google
Tested up to: 6.5
Requires at least: 6.2
Requires at least: 6.3
Stable tag: V.V.V
License: Apache-2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Expand Down
4 changes: 2 additions & 2 deletions tests/phpstan/bootstrap.php
Expand Up @@ -10,8 +10,8 @@
define( 'WEBSTORIES_PLUGIN_DIR_PATH', dirname( WEBSTORIES_PLUGIN_FILE ) );
define( 'WEBSTORIES_PLUGIN_DIR_URL', 'https://example.com/wp-content/plugins/web-stories/' );
define( 'WEBSTORIES_CDN_URL', 'https://wp.stories.google/static/main/' );
define( 'WEBSTORIES_MINIMUM_PHP_VERSION', '7.4' );
define( 'WEBSTORIES_MINIMUM_WP_VERSION', '6.2' );
define( 'WEBSTORIES_MINIMUM_PHP_VERSION', '0.0' );
define( 'WEBSTORIES_MINIMUM_WP_VERSION', '0.0' );
define( 'WEBSTORIES_DEV_MODE', true );

define( 'WPCOM_IS_VIP_ENV', true );
Expand Down
4 changes: 2 additions & 2 deletions web-stories.php
Expand Up @@ -10,7 +10,7 @@
* Author: Google
* Author URI: https://opensource.google.com/
* Version: 1.37.0-alpha.0
* Requires at least: 6.2
* Requires at least: 6.3
* Requires PHP: 7.4
* Text Domain: web-stories
* License: Apache License 2.0
Expand Down Expand Up @@ -47,7 +47,7 @@
define( 'WEBSTORIES_PLUGIN_DIR_PATH', plugin_dir_path( WEBSTORIES_PLUGIN_FILE ) );
define( 'WEBSTORIES_PLUGIN_DIR_URL', plugin_dir_url( WEBSTORIES_PLUGIN_FILE ) );
define( 'WEBSTORIES_MINIMUM_PHP_VERSION', '7.4' );
define( 'WEBSTORIES_MINIMUM_WP_VERSION', '6.2' );
define( 'WEBSTORIES_MINIMUM_WP_VERSION', '6.3' );
define( 'WEBSTORIES_CDN_URL', 'https://wp.stories.google/static/main' );

if ( ! defined( 'WEBSTORIES_DEV_MODE' ) ) {
Expand Down

0 comments on commit f8de056

Please sign in to comment.