diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index fe03a93c1e..093243ef15 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -5764,7 +5764,15 @@ final class WP_Customize_Manager { } } } - return 0 !== count( get_pages( array( 'number' => 1 ) ) ); + + return 0 !== count( + get_pages( + array( + 'number' => 1, + 'hierarchical' => 0, + ) + ) + ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index b8af1897e6..1072f93298 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54934'; +$wp_version = '6.2-alpha-54935'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.