From 3dd751a914a11783e7fe4034b206947b7ff93c8b Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Fri, 1 Apr 2022 20:08:30 +0000 Subject: [PATCH] General: Open change permalink structure links in same tab. Remove `target="_blank"` from the link to change permalink structures and change link text to clarify link purpose. Props kebbet, sabernhardt. Fixes #55252. git-svn-id: https://develop.svn.wordpress.org/trunk@53052 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 799f19aeae..0e6370d17f 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1506,7 +1506,7 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { if ( ! get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && ! ( 'page' === get_option( 'show_on_front' ) && get_option( 'page_on_front' ) == $id ) ) { - $return .= '' . __( 'Change Permalinks' ) . "\n"; + $return .= '' . __( 'Change Permalink Structure' ) . "\n"; } } else { if ( mb_strlen( $post_name ) > 34 ) {