Skip to content

Commit

Permalink
Merge branch 'release/22.1' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
enricobattocchi committed Feb 13, 2024
2 parents 6a3994d + 4cba030 commit 22b0044
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions admin/class-gutenberg-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
*
* @var string
*/
public const CURRENT_RELEASE = '17.6.5';
public const CURRENT_RELEASE = '17.6.6';

/**
* The minimally supported version of Gutenberg by the plugin.
*
* @var string
*/
public const MINIMUM_SUPPORTED = '17.6.5';
public const MINIMUM_SUPPORTED = '17.6.6';

/**
* Holds the current version.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"typescript": "^4.2.4"
},
"yoast": {
"pluginVersion": "22.1-RC3"
"pluginVersion": "22.1-RC4"
},
"version": "0.0.0"
}
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ Release date: 2024-02-20
* Fixes a bug where ending a _How-To_ or _FAQ_ block element with a backslash would generate errors when re-opening a saved post.
* Fixes a bug where fatal errors occurred when using a plugin that hooks into `views_edit-{$post_type}` but did not return an array as expected.
* Fixes a bug where next and prev links in query loop would be wrong when disabling `Inherit query from template`.
* Fixes a bug where some custom post types such as Divi layouts could be experiencing problems after activation or deactivation of Yoast SEO.
* Fixes a bug where the `ProfilePage` schema node would not be valid when it was manually chosen for a page.

#### Other
Expand Down
6 changes: 3 additions & 3 deletions wp-seo-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* {@internal Nobody should be able to overrule the real version number as this can cause
* serious issues with the options, so no if ( ! defined() ).}}
*/
define( 'WPSEO_VERSION', '22.1-RC3' );
define( 'WPSEO_VERSION', '22.1-RC4' );


if ( ! defined( 'WPSEO_PATH' ) ) {
Expand Down Expand Up @@ -226,7 +226,7 @@ function _wpseo_activate() {
$GLOBALS['wpseo_rewrite'] = new WPSEO_Rewrite();
}
}
add_action( 'shutdown', 'flush_rewrite_rules' );
add_action( 'shutdown', [ 'WPSEO_Utils', 'clear_rewrites' ] );

WPSEO_Options::set( 'indexing_reason', 'first_install' );
WPSEO_Options::set( 'first_time_install', true );
Expand Down Expand Up @@ -261,7 +261,7 @@ function _wpseo_activate() {
function _wpseo_deactivate() {
require_once WPSEO_PATH . 'inc/wpseo-functions.php';

add_action( 'shutdown', 'flush_rewrite_rules' );
add_action( 'shutdown', [ 'WPSEO_Utils', 'clear_rewrites' ] );

// Register capabilities, to make sure they are cleaned up.
do_action( 'wpseo_register_roles' );
Expand Down
2 changes: 1 addition & 1 deletion wp-seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @wordpress-plugin
* Plugin Name: Yoast SEO
* Version: 22.1-RC3
* Version: 22.1-RC4
* Plugin URI: https://yoa.st/1uj
* Description: The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.
* Author: Team Yoast
Expand Down

0 comments on commit 22b0044

Please sign in to comment.