plugin updates
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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() ),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user