plugin updates

This commit is contained in:
Tony Volpe
2024-02-21 16:19:46 +00:00
parent c72f206574
commit 21d4c85c00
1214 changed files with 102269 additions and 179257 deletions

View File

@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
*
* @var string
*/
public const CURRENT_RELEASE = '17.5.0';
public const CURRENT_RELEASE = '17.6.6';
/**
* The minimally supported version of Gutenberg by the plugin.
*
* @var string
*/
public const MINIMUM_SUPPORTED = '17.5.0';
public const MINIMUM_SUPPORTED = '17.6.6';
/**
* Holds the current version.

View File

@@ -96,11 +96,11 @@ abstract class WPSEO_Abstract_Post_Filter implements WPSEO_WordPress_Integration
/**
* Adds a filter link to the views.
*
* @param array $views Array with the views.
* @param array<string, string> $views Array with the views.
*
* @return array Array of views including the added view.
* @return array<string, string> Array of views including the added view.
*/
public function add_filter_link( array $views ) {
public function add_filter_link( $views ) {
$views[ 'yoast_' . $this->get_query_val() ] = sprintf(
'<a href="%1$s"%2$s>%3$s</a> (%4$s)',
esc_url( $this->get_filter_url() ),

View File

@@ -943,6 +943,7 @@ class WPSEO_Metabox extends WPSEO_Meta {
'blackFridayBlockEditorUrl' => ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-2023-checklist' ) ) ? WPSEO_Shortlinker::get( 'https://yoa.st/black-friday-checklist' ) : '',
'isJetpackBoostActive' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Active_Conditional::class )->is_met() : false,
'isJetpackBoostNotPremium' => ( $is_block_editor ) ? YoastSEO()->classes->get( Jetpack_Boost_Not_Premium_Conditional::class )->is_met() : false,
'isWooCommerceSeoActive' => $woocommerce_seo_active,
'isWooCommerceActive' => $woocommerce_active,
'woocommerceUpsell' => get_post_type( $post_id ) === 'product' && ! $woocommerce_seo_active && $woocommerce_active,
'linkParams' => WPSEO_Shortlinker::get_query_params(),

View File

@@ -373,7 +373,11 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
echo '<span aria-hidden="true" class="yoast-button-upsell__caret"></span>';
?>
</a>
<?php if ( $slug === 'yoast-seo-plugin-subscription' ) : ?>
<p class="yoast-subscription-discount">
<?php esc_html_e( 'Only $/€/£229 per year (ex VAT). Save over 40% with this subscription!', 'wordpress-seo' ); ?>
</p>
<?php endif; ?>
<a target="_blank" class="yoast-link--more-info" href="<?php echo esc_url( $extension['infoUrl'] ); ?>">
<?php
esc_html_e( 'Explore now', 'wordpress-seo' );