Skip to content

Commit

Permalink
Updates to 24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoast committed Dec 3, 2024
1 parent 80b9b75 commit a76f124
Show file tree
Hide file tree
Showing 62 changed files with 98 additions and 43 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

11 changes: 5 additions & 6 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
*** Yoast SEO premium Changelog ***


2024-11-19 - version 23.9
* add - Improves the compatibility of the Yoast blocks with WordPress 6.7.
* add - Implement new design for the button for related keyphrase suggestions.
* fix - Fixes a bug where the highlighting marker button would be incorrectly enabled when switching the editor mode from code to visual, while the AI Optimize toast notification was still visible.
* update - Stops PHP notices about `_load_textdomain_just_in_time` loading incorrectly, on WP 6.7.
* update - Bumps the minimum required version of Yoast SEO to 23.9.
2024-12-03 - version 24.0
* fix - Fixes a bug where the inclusive language filter would be displayed on the WooCommerce orders overview page.
* fix - Fixes a bug where AI Optimize suggestions would not be styled correctly in WordPress 6.7.
* fix - Fixes a bug where AI Optimize suggestions would not be styled correctly in tablet or mobile mode.
* update - Bumps the minimum required version of Yoast SEO to 24.0.

2 changes: 1 addition & 1 deletion premium.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class WPSEO_Premium {
*
* @var string
*/
public const PLUGIN_VERSION_NAME = '23.9';
public const PLUGIN_VERSION_NAME = '24.0';

/**
* Machine readable version for determining whether an upgrade is needed.
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
=== Yoast SEO Premium ===
Stable tag: 23.9
Stable tag: 24.0
2 changes: 1 addition & 1 deletion src/addon-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Addon_Installer {
/**
* The minimum Yoast SEO version required.
*/
public const MINIMUM_YOAST_SEO_VERSION = '23.9';
public const MINIMUM_YOAST_SEO_VERSION = '24.0';

/**
* The base directory for the installer.
Expand Down
30 changes: 30 additions & 0 deletions src/conditionals/not-woo-order-conditional.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

namespace Yoast\WP\SEO\Premium\Conditionals;

use Yoast\WP\SEO\Conditionals\Conditional;

/**
* Conditional that is only met when post type is not 'shop_order'.
*
* phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded
*/
class Not_Woo_Order_Conditional implements Conditional {

/**
* Returns `false` when post type is 'shop_order'.
*
* @return bool `false` when post type is 'shop_order'.
*/
public function is_met() {
// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Reason: We are not processing form information.
if ( isset( $_GET['post_type'] ) && \is_string( $_GET['post_type'] ) ) {
// phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Reason: We are not processing form information, We are only strictly comparing.
if ( \wp_unslash( $_GET['post_type'] ) === 'shop_order' ) {
return false;
}
}

return true;
}
}
2 changes: 1 addition & 1 deletion src/generated/assets/externals.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('social-metadata-previews-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '1c09414490cdc1f8c9ba'));
<?php return array('social-metadata-previews-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-replacement-variable-editor-package', 'yoast-seo-social-metadata-forms-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '1c09414490cdc1f8c9ba'));
2 changes: 1 addition & 1 deletion src/generated/assets/plugin.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('yoast-premium-prominent-words-indexation-2390.min.js' => array('dependencies' => array('lodash', 'wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '1bcb488551090b4283ed'), 'yoast-premium-social-metadata-previews-2390.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-previews-package'), 'version' => 'dbee696f537f6214203b'), 'wp-seo-premium-admin-redirects-2390.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => 'e32f0676ce2f298b5fd4'), 'wp-seo-premium-custom-fields-plugin-2390.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72f2633d565d0505c093'), 'wp-seo-premium-quickedit-notification-2390.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '76c42b45e36bd01437b2'), 'wp-seo-premium-redirect-notifications-2390.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '5a20a9c95c17ef82a10b'), 'wp-seo-premium-redirect-notifications-gutenberg-2390.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package'), 'version' => '621e83f3ab96b99b4153'), 'wp-seo-premium-metabox-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-related-keyphrase-suggestions-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '776c88223e6600d02ed0'), 'wp-seo-premium-draft-js-plugins-2390.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-hooks', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => 'e8a252b259e7e069b8dd'), 'dynamic-blocks-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => 'f52ab9aa073120540987'), 'blocks-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '5201f1d0adff108d7884'), 'workouts-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-select', 'yoast-seo-style-guide-package'), 'version' => '764f8fcf7ef81b7d2843'), 'frontend-inspector-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '7d52f7618584c58a9a39'), 'wp-seo-premium-elementor-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-related-keyphrase-suggestions-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'a4a09b417aaa11c1c981'), 'register-text-formality-2390.min.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '3125f027fb4a3bfea429'), 'register-premium-assessments-2390.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '5d55a0e4b2f880e31f0d'), 'ai-generator-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-ui-library-package'), 'version' => 'f38be348ca0cf9a1c15c'), 'ai-fix-assessments-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-ui-library-package'), 'version' => '3f9b49273d92c3181a58'), 'introductions-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'a0b57f87b1df021786c4'), 'manage-ai-consent-button-2390.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'fe82c8d9d502209e8eae'));
<?php return array('yoast-premium-prominent-words-indexation-2400.min.js' => array('dependencies' => array('lodash', 'wp-polyfill', 'yoast-seo-analysis-package'), 'version' => 'd8daeef32497f0e75ada'), 'yoast-premium-social-metadata-previews-2400.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'yoast-seo-prop-types-package', 'yoast-seo-social-metadata-previews-package'), 'version' => 'dbee696f537f6214203b'), 'wp-seo-premium-admin-redirects-2400.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => 'e32f0676ce2f298b5fd4'), 'wp-seo-premium-custom-fields-plugin-2400.min.js' => array('dependencies' => array('wp-polyfill'), 'version' => '72f2633d565d0505c093'), 'wp-seo-premium-quickedit-notification-2400.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '76c42b45e36bd01437b2'), 'wp-seo-premium-redirect-notifications-2400.min.js' => array('dependencies' => array('wp-api-fetch', 'wp-polyfill'), 'version' => '5a20a9c95c17ef82a10b'), 'wp-seo-premium-redirect-notifications-gutenberg-2400.min.js' => array('dependencies' => array('react', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package'), 'version' => '621e83f3ab96b99b4153'), 'wp-seo-premium-metabox-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-related-keyphrase-suggestions-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => 'ce1320dacf5c23442898'), 'wp-seo-premium-draft-js-plugins-2400.min.js' => array('dependencies' => array('react', 'wp-components', 'wp-element', 'wp-hooks', 'wp-polyfill', 'yoast-seo-prop-types-package'), 'version' => 'e8a252b259e7e069b8dd'), 'dynamic-blocks-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-server-side-render'), 'version' => 'f52ab9aa073120540987'), 'blocks-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '5201f1d0adff108d7884'), 'workouts-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-select', 'yoast-seo-style-guide-package'), 'version' => '764f8fcf7ef81b7d2843'), 'frontend-inspector-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '7d52f7618584c58a9a39'), 'wp-seo-premium-elementor-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-feature-flag-package', 'yoast-seo-helpers-package', 'yoast-seo-prop-types-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-related-keyphrase-suggestions-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-style-guide-package', 'yoast-seo-styled-components-package'), 'version' => '003de6ab65ba97ef57ee'), 'register-text-formality-2400.min.js' => array('dependencies' => array('wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '3125f027fb4a3bfea429'), 'register-premium-assessments-2400.min.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package'), 'version' => '5d55a0e4b2f880e31f0d'), 'ai-generator-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-ui-library-package'), 'version' => 'f38be348ca0cf9a1c15c'), 'ai-fix-assessments-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-dom', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'yoast-seo-analysis-package', 'yoast-seo-components-new-package', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-search-metadata-previews-package', 'yoast-seo-social-metadata-previews-package', 'yoast-seo-ui-library-package'), 'version' => '3f9b49273d92c3181a58'), 'introductions-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'a0b57f87b1df021786c4'), 'manage-ai-consent-button-2400.min.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url', 'yoast-seo-prop-types-package', 'yoast-seo-react-helmet-package', 'yoast-seo-redux-js-toolkit-package', 'yoast-seo-ui-library-package'), 'version' => 'fe82c8d9d502209e8eae'));
Loading

0 comments on commit a76f124

Please sign in to comment.