diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
index 4631f98d10..6ce9719ffe 100644
a
|
b
|
class WP_Site_Health { |
746 | 746 | ) |
747 | 747 | ), |
748 | 748 | 'actions' => sprintf( |
749 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 749 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
750 | 750 | esc_url( wp_get_update_php_url() ), |
751 | 751 | __( 'Learn more about updating PHP' ), |
752 | 752 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
890 | 890 | __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in <a href="%1$s" %2$s>the team handbook%3$s</a>.' ), |
891 | 891 | /* translators: Localized team handbook, if one exists. */ |
892 | 892 | esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ), |
893 | | 'target="_blank" rel="noopener"', |
| 893 | 'target="_blank"', |
894 | 894 | sprintf( |
895 | 895 | ' <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>', |
896 | 896 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
1216 | 1216 | __( 'The SQL server is a required piece of software for the database WordPress uses to store all your site’s content and settings.' ) |
1217 | 1217 | ), |
1218 | 1218 | 'actions' => sprintf( |
1219 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1219 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1220 | 1220 | /* translators: Localized version of WordPress requirements if one exists. */ |
1221 | 1221 | esc_url( __( 'https://wordpress.org/about/requirements/' ) ), |
1222 | 1222 | __( 'Learn more about what WordPress requires to run.' ), |
… |
… |
class WP_Site_Health { |
1456 | 1456 | ); |
1457 | 1457 | |
1458 | 1458 | $result['actions'] = sprintf( |
1459 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1459 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1460 | 1460 | /* translators: Localized Support reference. */ |
1461 | 1461 | esc_url( __( 'https://wordpress.org/support/forums/' ) ), |
1462 | 1462 | __( 'Get help resolving this issue.' ), |
… |
… |
class WP_Site_Health { |
1494 | 1494 | __( 'Debug mode is often enabled to gather more details about an error or site failure, but may contain sensitive information which should not be available on a publicly available website.' ) |
1495 | 1495 | ), |
1496 | 1496 | 'actions' => sprintf( |
1497 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1497 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1498 | 1498 | /* translators: Documentation explaining debugging in WordPress. */ |
1499 | 1499 | esc_url( __( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' ) ), |
1500 | 1500 | __( 'Learn more about debugging in WordPress.' ), |
… |
… |
class WP_Site_Health { |
1575 | 1575 | __( 'An HTTPS connection is a more secure way of browsing the web. Many services now have HTTPS as a requirement. HTTPS allows you to take advantage of new features that can increase site speed, improve search rankings, and gain the trust of your visitors by helping to protect their online privacy.' ) |
1576 | 1576 | ), |
1577 | 1577 | 'actions' => sprintf( |
1578 | | '<p><a href="%s" target="_blank" rel="noopener">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1578 | '<p><a href="%s" target="_blank">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1579 | 1579 | esc_url( $default_update_url ), |
1580 | 1580 | __( 'Learn more about why you should use HTTPS' ), |
1581 | 1581 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
1657 | 1657 | |
1658 | 1658 | if ( ! empty( $direct_update_url ) ) { |
1659 | 1659 | $result['actions'] = sprintf( |
1660 | | '<p class="button-container"><a class="button button-primary" href="%1$s" target="_blank" rel="noopener">%2$s<span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1660 | '<p class="button-container"><a class="button button-primary" href="%1$s" target="_blank">%2$s<span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1661 | 1661 | esc_url( $direct_update_url ), |
1662 | 1662 | __( 'Update your site to use HTTPS' ), |
1663 | 1663 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
1676 | 1676 | $update_url = wp_get_update_https_url(); |
1677 | 1677 | if ( $update_url !== $default_update_url ) { |
1678 | 1678 | $result['description'] .= sprintf( |
1679 | | '<p><a href="%s" target="_blank" rel="noopener">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 1679 | '<p><a href="%s" target="_blank">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
1680 | 1680 | esc_url( $update_url ), |
1681 | 1681 | __( 'Talk to your web host about supporting HTTPS for your website.' ), |
1682 | 1682 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
2482 | 2482 | ); |
2483 | 2483 | } else { |
2484 | 2484 | $result['actions'] .= sprintf( |
2485 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 2485 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
2486 | 2486 | __( 'https://developer.wordpress.org/rest-api/frequently-asked-questions/#why-is-authentication-not-working' ), |
2487 | 2487 | __( 'Learn how to configure the Authorization header.' ), |
2488 | 2488 | /* translators: Hidden accessibility text. */ |
… |
… |
class WP_Site_Health { |
2641 | 2641 | __( 'A persistent object cache makes your site’s database more efficient, resulting in faster load times because WordPress can retrieve your site’s content and settings much more quickly.' ) |
2642 | 2642 | ), |
2643 | 2643 | 'actions' => sprintf( |
2644 | | '<p><a href="%s" target="_blank" rel="noopener">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
| 2644 | '<p><a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>', |
2645 | 2645 | esc_url( $action_url ), |
2646 | 2646 | __( 'Learn more about persistent object caching.' ), |
2647 | 2647 | /* translators: Hidden accessibility text. */ |
diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index c73ee8ee47..7225784380 100644
a
|
b
|
function wp_dashboard_php_nag() { |
1895 | 1895 | <p class="button-container"> |
1896 | 1896 | <?php |
1897 | 1897 | printf( |
1898 | | '<a class="button button-primary" href="%1$s" target="_blank" rel="noopener">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>', |
| 1898 | '<a class="button button-primary" href="%1$s" target="_blank">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>', |
1899 | 1899 | esc_url( wp_get_update_php_url() ), |
1900 | 1900 | __( 'Learn more about updating PHP' ), |
1901 | 1901 | /* translators: Hidden accessibility text. */ |
diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php
index 9c75c55d03..e6f886a9b6 100644
a
|
b
|
function edit_form_image_editor( $post ) { |
3232 | 3232 | /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ |
3233 | 3233 | __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ), |
3234 | 3234 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
3235 | | 'target="_blank" rel="noopener"', |
| 3235 | 'target="_blank"', |
3236 | 3236 | sprintf( |
3237 | 3237 | '<span class="screen-reader-text"> %s</span>', |
3238 | 3238 | /* translators: Hidden accessibility text. */ |
diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php
index b732f83ad4..0fba8f459e 100644
a
|
b
|
function wp_comments_personal_data_exporter( $email_address, $page = 1 ) { |
3756 | 3756 | case 'comment_link': |
3757 | 3757 | $value = get_comment_link( $comment->comment_ID ); |
3758 | 3758 | $value = sprintf( |
3759 | | '<a href="%s" target="_blank" rel="noopener">%s</a>', |
| 3759 | '<a href="%s" target="_blank">%s</a>', |
3760 | 3760 | esc_url( $value ), |
3761 | 3761 | esc_html( $value ) |
3762 | 3762 | ); |
diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 56c3d94bf5..99184642b5 100644
a
|
b
|
function wp_direct_php_update_button() { |
8237 | 8237 | |
8238 | 8238 | echo '<p class="button-container">'; |
8239 | 8239 | printf( |
8240 | | '<a class="button button-primary" href="%1$s" target="_blank" rel="noopener">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>', |
| 8240 | '<a class="button button-primary" href="%1$s" target="_blank">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>', |
8241 | 8241 | esc_url( $direct_update_url ), |
8242 | 8242 | __( 'Update PHP' ), |
8243 | 8243 | /* translators: Hidden accessibility text. */ |
diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
index 6bb31a7bb0..3e27f2401c 100644
a
|
b
|
function wp_print_media_templates() { |
160 | 160 | /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ |
161 | 161 | __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ), |
162 | 162 | esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), |
163 | | 'target="_blank" rel="noopener"', |
| 163 | 'target="_blank"', |
164 | 164 | sprintf( |
165 | 165 | '<span class="screen-reader-text"> %s</span>', |
166 | 166 | /* translators: Hidden accessibility text. */ |