Docs: Fix typo in a comment in `WP_Customize_Manager::get_return_url()`.

Follow-up to [46754].

See #53399.
Built from https://develop.svn.wordpress.org/trunk@51730


git-svn-id: http://core.svn.wordpress.org/trunk@51336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-09-04 00:39:04 +00:00
parent 15e552e105
commit bd3465828e
2 changed files with 2 additions and 2 deletions

View File

@ -4688,7 +4688,7 @@ final class WP_Customize_Manager {
/* /*
* If the return URL is a page added by a theme to the Appearance menu via add_submenu_page(), * If the return URL is a page added by a theme to the Appearance menu via add_submenu_page(),
* verify that belongs to the active theme, otherwise fall back to the Themes screen. * verify that it belongs to the active theme, otherwise fall back to the Themes screen.
*/ */
if ( isset( $query_vars['page'] ) && ! isset( $_registered_pages[ "appearance_page_{$query_vars['page']}" ] ) ) { if ( isset( $query_vars['page'] ) && ! isset( $_registered_pages[ "appearance_page_{$query_vars['page']}" ] ) ) {
$return_url = admin_url( 'themes.php' ); $return_url = admin_url( 'themes.php' );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51729'; $wp_version = '5.9-alpha-51730';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.