Skip to content

Commit bcb035d

Browse files
Open settings submenu links in new tabs
1 parent e12ddb3 commit bcb035d

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/wp-admin/options-discussion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
?>
193193
</label></p>
194194

195-
<p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser&#8217;s user agent string, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP address per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.' ); ?></label></p>
195+
<p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser&#8217;s user agent string, it will be held in the <a href="edit-comments.php?comment_status=moderated" target="_blank">moderation queue</a>. One word or IP address per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.' ); ?></label></p>
196196
<p>
197197
<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea>
198198
</p>

src/wp-admin/options-general.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class="<?php echo esc_attr( $classes_for_button ); ?>"
250250
<?php
251251
printf(
252252
/* translators: %s: Documentation URL. */
253-
__( 'Enter the same address here unless you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
253+
__( 'Enter the same address here unless you <a href="%s" target=_blank>want your site home page to be different from your WordPress installation directory</a>.' ),
254254
__( 'https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/' )
255255
);
256256
?>
@@ -568,7 +568,7 @@ class="<?php echo esc_attr( $classes_for_button ); ?>"
568568
'<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' .
569569
"<span class='spinner'></span>\n" . '</p>';
570570

571-
echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/documentation/article/customize-date-and-time-format/">Documentation on date and time formatting</a>.' ) . "</p>\n";
571+
echo "\t<p class='date-time-doc'>" . __( '<a href="https://wordpress.org/documentation/article/customize-date-and-time-format/" target="_blank">Documentation on date and time formatting</a>.' ) . "</p>\n";
572572
?>
573573
</fieldset>
574574
</td>

src/wp-admin/options-permalink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<?php
224224
printf(
225225
/* translators: %s: Documentation URL. */
226-
__( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="%s">number of tags are available</a>, and here are some examples to get you started.' ),
226+
__( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A <a href="%s" target="_blank">number of tags are available</a>, and here are some examples to get you started.' ),
227227
__( 'https://wordpress.org/documentation/article/customize-permalinks/' )
228228
);
229229
?>

src/wp-admin/options-reading.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<?php
199199
printf(
200200
/* translators: %s: Documentation URL. */
201-
__( 'Your theme determines how content is displayed in browsers. <a href="%s">Learn more about feeds</a>.' ),
201+
__( 'Your theme determines how content is displayed in browsers. <a href="%s" target="_blank">Learn more about feeds</a>.' ),
202202
__( 'https://developer.wordpress.org/advanced-administration/wordpress/feeds/' )
203203
);
204204
?>

0 commit comments

Comments
 (0)