sc_html__( 'The import from %s includes:', 'wordpress-seo' ), 'plugins' => [ 'aioseo' => [ [ 'data_name' => \esc_html__( 'Post metadata (SEO titles, descriptions, etc.)', 'wordpress-seo' ), 'data_note' => \esc_html__( 'Note: This metadata will only be imported if there is no existing Yoast SEO metadata yet.', 'wordpress-seo' ), ], [ 'data_name' => \esc_html__( 'Default settings', 'wordpress-seo' ), 'data_note' => \esc_html__( 'Note: These settings will overwrite the default settings of Yoast SEO.', 'wordpress-seo' ), ], ], 'other' => [ [ 'data_name' => \esc_html__( 'Post metadata (SEO titles, descriptions, etc.)', 'wordpress-seo' ), 'data_note' => \esc_html__( 'Note: This metadata will only be imported if there is no existing Yoast SEO metadata yet.', 'wordpress-seo' ), ], ], ], ], ], ]; /** * Filter: 'wpseo_importing_data' Filter to adapt the data used in the import process. * * @param array $data The import data to adapt. */ $data = \apply_filters( 'wpseo_importing_data', $data ); $this->asset_manager->localize_script( 'import', 'yoastImportData', $data ); } /** * Retrieves a list of the importing endpoints to use. * * @return array The endpoints. */ protected function get_importing_endpoints() { $available_actions = $this->importable_detector->detect_importers(); $importing_endpoints = []; $available_sorted_actions = $this->sort_actions( $available_actions ); foreach ( $available_sorted_actions as $plugin => $types ) { foreach ( $types as $type ) { $importing_endpoints[ $plugin ][] = $this->importing_route->get_endpoint( $plugin, $type ); } } return $importing_endpoints; } /** * Sorts the array of importing actions, by moving any validating actions to the start for every plugin. * * @param array $available_actions The array of actions that we want to sort. * * @return array The sorted array of actions. */ protected function sort_actions( $available_actions ) { $first_action = 'validate_data'; $available_sorted_actions = []; foreach ( $available_actions as $plugin => $plugin_available_actions ) { $validate_action_position = \array_search( $first_action, $plugin_available_actions, true ); if ( ! empty( $validate_action_position ) ) { unset( $plugin_available_actions[ $validate_action_position ] ); \array_unshift( $plugin_available_actions, $first_action ); } $available_sorted_actions[ $plugin ] = $plugin_available_actions; } return $available_sorted_actions; } /** * Retrieves a list of the importing endpoints to use. * * @return array The endpoints. */ protected function get_cleanup_endpoints() { $available_actions = $this->importable_detector->detect_cleanups(); $importing_endpoints = []; foreach ( $available_actions as $plugin => $types ) { foreach ( $types as $type ) { $importing_endpoints[ $plugin ][] = $this->importing_route->get_endpoint( $plugin, $type ); } } return $importing_endpoints; } /** * Gets the validation failure alert using the Alert_Presenter. * * @return string The validation failure alert. */ protected function get_validation_failure_alert() { $content = \esc_html__( 'The AIOSEO import was cancelled because some AIOSEO data is missing. Please try and take the following steps to fix this:', 'wordpress-seo' ); $content .= '
'; $content .= '
  1. '; $content .= \esc_html__( 'If you have never saved any AIOSEO \'Search Appearance\' settings, please do that first and run the import again.', 'wordpress-seo' ); $content .= '
  2. '; $content .= '
  3. '; $content .= \esc_html__( 'If you already have saved AIOSEO \'Search Appearance\' settings and the issue persists, please contact our support team so we can take a closer look.', 'wordpress-seo' ); $content .= '
'; $validation_failure_alert = new Alert_Presenter( $content, 'error' ); return $validation_failure_alert->present(); } /** * Gets the import failure alert using the Alert_Presenter. * * @param bool $is_import Wether it's an import or not. * * @return string The import failure alert. */ protected function get_import_failure_alert( $is_import ) { $content = \esc_html__( 'Cleanup failed with the following error:', 'wordpress-seo' ); if ( $is_import ) { $content = \esc_html__( 'Import failed with the following error:', 'wordpress-seo' ); } $content .= '

'; $content .= \esc_html( '%s' ); $import_failure_alert = new Alert_Presenter( $content, 'error' ); return $import_failure_alert->present(); } } class ) { // Post type archive feeds. case 'WP_Post_Type': $meta = $this->meta->for_post_type_archive( $queried_object->name ); break; // Post comment feeds. case 'WP_Post': $meta = $this->meta->for_post( $queried_object->ID ); break; // Term feeds. case 'WP_Term': $meta = $this->meta->for_term( $queried_object->term_id ); break; // Author feeds. case 'WP_User': $meta = $this->meta->for_author( $queried_object->ID ); break; // This would be NULL on the home page and on date archive feeds. case null: $meta = $this->meta->for_home_page(); break; default: break; } if ( $meta ) { return $meta->canonical; } return $url; } } 'admin_print_scripts', 'print_emoji_detection_script' ); $this->asset_manager->enqueue_script( 'support' ); $this->asset_manager->enqueue_style( 'support' ); if ( \YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-promotion' ) ) { $this->asset_manager->enqueue_style( 'black-friday-banner' ); } $this->asset_manager->localize_script( 'support', 'wpseoScriptData', $this->get_script_data() ); } /** * Removes all current WP notices. * * @return void */ public function remove_notices() { \remove_all_actions( 'admin_notices' ); \remove_all_actions( 'user_admin_notices' ); \remove_all_actions( 'network_admin_notices' ); \remove_all_actions( 'all_admin_notices' ); } /** * Creates the script data. * * @return array>, bool, string>> The script data. */ public function get_script_data() { return [ 'preferences' => [ 'hasPremiumSubscription' => $this->addon_manager->has_active_addons() && $this->addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ), 'hasWooSeoSubscription' => $this->addon_manager->has_active_addons() && $this->addon_manager->has_valid_subscription( WPSEO_Addon_Manager::WOOCOMMERCE_SLUG ), 'isRtl' => \is_rtl(), 'pluginUrl' => \plugins_url( '', \WPSEO_FILE ), 'upsellSettings' => [ 'actionId' => 'load-nfd-ctb', 'premiumCtbId' => 'f6a84663-465f-4cb5-8ba5-f7a6d72224b2', ], 'isWooCommerceActive' => $this->woocommerce_conditional->is_met(), ], 'linkParams' => $this->shortlink_helper->get_query_params(), 'currentPromotions' => \YoastSEO()->classes->get( Promotion_Manager::class )->get_current_promotions(), ]; } } Page non trouvée -

Il semble que le lien pointant ici soit défectueux. Et si vous essayiez plutôt de rechercher ?

Reset password

Entrez votre adresse e-mail et nous vous enverrons un lien pour changer votre mot de passe.

Commencez avec votre compte

pour enregistrer vos maisons préférées et plus encore

Inscrivez-vous avec l'adresse e-mail

Commencez avec votre compte

pour enregistrer vos maisons préférées et plus encore

By clicking the «S'INSCRIRE» button you agree to the Conditions d'utilisation and Politique de confidentialité
Powered by Estatik