diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3bff8bc279..a0d07696d3 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1784,12 +1784,11 @@ function do_settings_sections( $page ) { call_user_func( $section['callback'], $section ); } - if ( ! isset( $wp_settings_fields ) || ! isset( $wp_settings_fields[ $page ] ) || ! isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) { - continue; + if ( isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) { + echo ''; + do_settings_fields( $page, $section['id'] ); + echo ''; } - echo ''; - do_settings_fields( $page, $section['id'] ); - echo ''; if ( '' !== $section['after_section'] ) { echo wp_kses_post( $section['after_section'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2463382598..9393470e53 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59563'; +$wp_version = '6.8-alpha-59564'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.