Make WordPress Core

Changeset 53052


Ignore:
Timestamp:
04/01/2022 08:08:30 PM (3 years ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r52978 r53052  
    15071507            && ! ( 'page' === get_option( 'show_on_front' ) && get_option( 'page_on_front' ) == $id )
    15081508        ) {
    1509             $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __( 'Change Permalinks' ) . "</a></span>\n";
     1509            $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small">' . __( 'Change Permalink Structure' ) . "</a></span>\n";
    15101510        }
    15111511    } else {
Note: See TracChangeset for help on using the changeset viewer.