inUrl' => \esc_url( \plugins_url( '', \WPSEO_FILE ) ), 'toolsPageUrl' => \esc_url( \admin_url( 'admin.php?page=wpseo_tools' ) ), 'usersPageUrl' => \esc_url( \admin_url( 'users.php' ) ), 'firstTimeConfigurationUrl' => $ftc_url, 'isPremium' => $this->product_helper->is_premium(), 'upsellText' => $this->get_upsell_text(), 'upsellLink' => $this->get_upsell_link(), ] ); } /** * Renders the target for the React to mount to. * * @return void */ public function render_target() { if ( $this->should_update_premium() ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output escaped in get_update_premium_notice. echo $this->get_update_premium_notice(); } echo '
'; } /** * Gets the workouts option. * * @return mixed|null Returns workouts option if found, null if not. */ private function get_workouts_option() { $workouts_option = $this->options_helper->get( 'workouts_data' ); // This filter is documented in src/routes/workouts-route.php. return \apply_filters( 'Yoast\WP\SEO\workouts_options', $workouts_option ); } /** * Returns the notification to show when Premium needs to be updated. * * @return string The notification to update Premium. */ private function get_update_premium_notice() { $url = $this->get_upsell_link(); if ( $this->has_premium_subscription_expired() ) { /* translators: %s: expands to 'Yoast SEO Premium'. */ $title = \sprintf( \__( 'Renew your subscription of %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); $copy = \sprintf( /* translators: %s: expands to 'Yoast SEO Premium'. */ \esc_html__( 'Accessing the latest workouts requires an updated version of %s (at least 17.7), but it looks like your subscription has expired. Please renew your subscription to update and gain access to all the latest features.', 'wordpress-seo' ), 'Yoast SEO Premium' ); $button = '' . \esc_html__( 'Renew your subscription', 'wordpress-seo' ) /* translators: Hidden accessibility text. */ . '' . \__( '(Opens in a new browser tab)', 'wordpress-seo' ) . '' . '' . ''; } elseif ( $this->has_premium_subscription_activated() ) { /* translators: %s: expands to 'Yoast SEO Premium'. */ $title = \sprintf( \__( 'Update to the latest version of %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); $copy = \sprintf( /* translators: 1: expands to 'Yoast SEO Premium', 2: Link start tag to the page to update Premium, 3: Link closing tag. */ \esc_html__( 'It looks like you\'re running an outdated version of %1$s, please %2$supdate to the latest version (at least 17.7)%3$s to gain access to our updated workouts section.', 'wordpress-seo' ), 'Yoast SEO Premium', '', '' ); $button = null; } else { /* translators: %s: expands to 'Yoast SEO Premium'. */ $title = \sprintf( \__( 'Activate your subscription of %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); $url_button = 'https://yoa.st/workouts-activate-notice-help'; $copy = \sprintf( /* translators: 1: expands to 'Yoast SEO Premium', 2: Link start tag to the page to update Premium, 3: Link closing tag. */ \esc_html__( 'It looks like you’re running an outdated and unactivated version of %1$s, please activate your subscription in %2$sMyYoast%3$s and update to the latest version (at least 17.7) to gain access to our updated workouts section.', 'wordpress-seo' ), 'Yoast SEO Premium', '', '' ); $button = '' . \esc_html__( 'Get help activating your subscription', 'wordpress-seo' ) /* translators: Hidden accessibility text. */ . '' . \__( '(Opens in a new browser tab)', 'wordpress-seo' ) . '' . ''; } $notice = new Notice_Presenter( $title, $copy, null, $button ); return $notice->present(); } /** * Check whether Premium should be updated. * * @return bool Returns true when Premium is enabled and the version is below 17.7. */ private function should_update_premium() { $premium_version = $this->product_helper->get_premium_version(); return $premium_version !== null && \version_compare( $premium_version, '17.7-RC1', '<' ); } /** * Check whether the Premium subscription has expired. * * @return bool Returns true when Premium subscription has expired. */ private function has_premium_subscription_expired() { $subscription = $this->addon_manager->get_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ); return ( isset( $subscription->expiry_date ) && ( \strtotime( $subscription->expiry_date ) - \time() ) < 0 ); } /** * Check whether the Premium subscription is activated. * * @return bool Returns true when Premium subscription is activated. */ private function has_premium_subscription_activated() { return $this->addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ); } /** * Returns the upsell/update copy to show in the card buttons. * * @return string Returns a string with the upsell/update copy for the card buttons. */ private function get_upsell_text() { if ( ! $this->product_helper->is_premium() || ! $this->should_update_premium() ) { // Use the default defined in the component. return ''; } if ( $this->has_premium_subscription_expired() ) { return \sprintf( /* translators: %s: expands to 'Yoast SEO Premium'. */ \__( 'Renew %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); } if ( $this->has_premium_subscription_activated() ) { return \sprintf( /* translators: %s: expands to 'Yoast SEO Premium'. */ \__( 'Update %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); } return \sprintf( /* translators: %s: expands to 'Yoast SEO Premium'. */ \__( 'Activate %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); } /** * Returns the upsell/update link to show in the card buttons. * * @return string Returns a string with the upsell/update link for the card buttons. */ private function get_upsell_link() { if ( ! $this->product_helper->is_premium() || ! $this->should_update_premium() ) { // Use the default defined in the component. return ''; } if ( $this->has_premium_subscription_expired() ) { return 'https://yoa.st/workout-renew-notice'; } if ( $this->has_premium_subscription_activated() ) { return \wp_nonce_url( \self_admin_url( 'update.php?action=upgrade-plugin&plugin=wordpress-seo-premium/wp-seo-premium.php' ), 'upgrade-plugin_wordpress-seo-premium/wp-seo-premium.php' ); } return 'https://yoa.st/workouts-activate-notice-myyoast'; } } his->options->get( 'disable-attachment', false ) === false ) { return; } $url = $this->get_attachment_url(); if ( empty( $url ) ) { return; } $this->redirect->do_unsafe_redirect( $url, 301 ); } /** * Checks if certain archive pages are disabled to determine if a archive redirect is needed. * * @codeCoverageIgnore * * @return bool Whether or not to redirect an archive page. */ protected function need_archive_redirect() { if ( $this->options->get( 'disable-date', false ) && $this->current_page->is_date_archive() ) { return true; } if ( $this->options->get( 'disable-author', false ) && $this->current_page->is_author_archive() ) { return true; } if ( $this->options->get( 'disable-post_format', false ) && $this->current_page->is_post_format_archive() ) { return true; } return false; } /** * Retrieves the attachment url for the current page. * * @codeCoverageIgnore It wraps WordPress functions. * * @return string The attachment url. */ protected function get_attachment_url() { /** * Allows the developer to change the target redirection URL for attachments. * * @since 7.5.3 * * @param string $attachment_url The attachment URL for the queried object. * @param object $queried_object The queried object. */ return \apply_filters( 'wpseo_attachment_redirect_url', \wp_get_attachment_url( \get_queried_object_id() ), \get_queried_object() ); } /** * Redirects away query variables that shouldn't work. * * @param array $query_vars The query variables in the current URL. * @param string $base_url The base URL without query string. * * @return void */ private function do_date_redirect( $query_vars, $base_url ) { foreach ( $this->date_query_variables as $variable ) { unset( $query_vars[ $variable ] ); } $url = $base_url; if ( \count( $query_vars ) > 0 ) { $url .= '?' . \http_build_query( $query_vars ); } $this->redirect->do_safe_redirect( $url, 301 ); } /** * Strips `cat=-1` from the URL and redirects to the resulting URL. * * @return void */ public function category_redirect() { /** * Allows the developer to keep cat=-1 GET parameters * * @since 19.9 * * @param bool $remove_cat_parameter Whether to remove the `cat=-1` GET parameter. Default true. */ $should_remove_parameter = \apply_filters( 'wpseo_remove_cat_parameter', true ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Data is not processed or saved. if ( $should_remove_parameter && isset( $_GET['cat'] ) && $_GET['cat'] === '-1' ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Data is not processed or saved. unset( $_GET['cat'] ); if ( isset( $_SERVER['REQUEST_URI'] ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- This is just a replace and the data is never saved. $_SERVER['REQUEST_URI'] = \remove_query_arg( 'cat' ); } $this->redirect->do_safe_redirect( $this->url->recreate_current_url(), 301, 'Stripping cat=-1 from the URL' ); } } } Nos Rayons | Superette Antonia

No products in the cart.

Nos Rayons

Show

ARUMA

CFA 13.200

BARON RAMÉRO ROSÉ

CFA 3.600

BARON RAMON BLANC

CFA 1.800

BARON RAMON ROSÉ

CFA 1.800

BARON RAMON ROUGE

CFA 1.800

BARON ROMERO

CFA 3.600

BARON ROMERO

CFA 4.100

BELLEVUE

CFA 6.100

BEURRE BOCAGE DOUX 250G EN BARGUETTE

CFA 1.800

CAPE DREAM CHENIN

CFA 5.900

CAPE SPRING SAUVIGNON

CFA 6.100
Showing 12 of 74 items
Load More