From 58fd134d63d8debe74017559ab4a68cfcccec3cc Mon Sep 17 00:00:00 2001 From: joedolson Date: Fri, 1 Apr 2022 20:10:09 +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. Built from https://develop.svn.wordpress.org/trunk@53052 git-svn-id: http://core.svn.wordpress.org/trunk@52641 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 799f19aeae..0e6370d17f 100644 --- a/wp-admin/includes/post.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index aef962e422..6aa97d15bd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53051'; +$wp_version = '6.0-alpha-53052'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.