mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 12:42:35 +02:00
Docs: Fix typo in a comment in WP_Customize_Manager::get_return_url()
.
Follow-up to [46754]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@51730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b83b01e1b0
commit
26c0800c46
@ -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(),
|
||||
* 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']}" ] ) ) {
|
||||
$return_url = admin_url( 'themes.php' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user