| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | echo '<p>'; |
| 20 | 20 | printf( |
| 21 | 21 | /* translators: %s expands to Yoast SEO */ |
| 22 | 22 | esc_html__( '%s did not detect any plugin data from plugins it can import from.', 'wordpress-seo' ), |
| 23 | - 'Yoast SEO' | |
| 23 | + 'Yoast SEO', | |
| 24 | 24 | ); |
| 25 | 25 | echo '</p>'; |
| 26 | 26 | |
| 27 | 27 | return; |
| @@ -64,9 +64,9 @@ | ||
| 64 | 64 | <?php |
| 65 | 65 | printf( |
| 66 | 66 | /* translators: 1: expands to Yoast SEO */ |
| 67 | 67 | esc_html__( 'This will import the post metadata like SEO titles and descriptions into your %1$s metadata. It will only do this when there is no existing %1$s metadata yet. The original data will remain in place.', 'wordpress-seo' ), |
| 68 | - 'Yoast SEO' | |
| 68 | + 'Yoast SEO', | |
| 69 | 69 | ); |
| 70 | 70 | ?> |
| 71 | 71 | </p> |
| 72 | 72 | <form action="<?php echo esc_url( admin_url( 'admin.php?page=wpseo_tools&tool=import-export#top#import-seo' ) ); ?>" |
| @@ -75,12 +75,18 @@ | ||
| 75 | 75 | wp_nonce_field( 'wpseo-import-plugins', '_wpnonce', true, true ); |
| 76 | 76 | wpseo_import_external_select( 'import_external_plugin', $import_check->needs_import ); |
| 77 | 77 | ?> |
| 78 | 78 | <?php |
| 79 | - do_action( 'wpseo_import_other_plugins' ); | |
| 79 | + | |
| 80 | + /** | |
| 81 | + * WARNING: This hook is intended for internal use only. | |
| 82 | + * Don't use it in your code as it will be removed shortly. | |
| 83 | + */ | |
| 84 | + do_action( 'wpseo_import_other_plugins_internal' ); | |
| 85 | + | |
| 80 | 86 | ?> |
| 81 | 87 | <input type="submit" class="button button-primary" name="import_external" |
| 82 | - value="<?php esc_attr_e( 'Import', 'wordpress-seo' ); ?>"/> | |
| 88 | + value="<?php esc_attr_e( 'Import', 'wordpress-seo' ); ?>" /> | |
| 83 | 89 | </form> |
| 84 | 90 | </div> |
| 85 | 91 | |
| 86 | 92 | <div class="tab-block"> |
| @@ -90,15 +96,17 @@ | ||
| 90 | 96 | </p> |
| 91 | 97 | </div> |
| 92 | 98 | |
| 93 | 99 | <div class="tab-block"> |
| 94 | - <h3><?php esc_html_e( 'Step 4: Do the configuration workout', 'wordpress-seo' ); ?></h3> | |
| 100 | + <h3><?php esc_html_e( 'Step 4: Go through the first time configuration', 'wordpress-seo' ); ?></h3> | |
| 95 | 101 | <p> |
| 96 | 102 | <?php |
| 103 | + $ftc_page = 'admin.php?page=wpseo_dashboard#/first-time-configuration'; | |
| 97 | 104 | printf( |
| 98 | - esc_html__( 'You should complete the configuration workout, from the SEO → Workouts page, to make sure the most important settings for your site are correct and your SEO data has been optimized.', 'wordpress-seo' ), | |
| 99 | - '<a href="' . esc_url( admin_url( 'admin.php?page=wpseo_dashboard' ) ) . '">', | |
| 100 | - '</a>' | |
| 105 | + /* translators: 1: Link start tag to the First time configuration tab in the General page, 2: Link closing tag. */ | |
| 106 | + esc_html__( 'You should finish the %1$sfirst time configuration%2$s to make sure your SEO data has been optimized and you’ve set the essential Yoast SEO settings for your site.', 'wordpress-seo' ), | |
| 107 | + '<a href="' . esc_url( admin_url( $ftc_page ) ) . '">', | |
| 108 | + '</a>', | |
| 101 | 109 | ); |
| 102 | 110 | ?> |
| 103 | 111 | </p> |
| 104 | 112 | </div> |