diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-admin/includes/template.php --- a/wp/wp-admin/includes/template.php Fri Sep 05 18:40:08 2025 +0200 +++ b/wp/wp-admin/includes/template.php Fri Sep 05 18:52:52 2025 +0200 @@ -461,7 +461,7 @@ - +
@@ -735,7 +735,7 @@ natcasesort( $keys ); } ?> -

+

@@ -850,19 +850,19 @@ $day = ''; + ''; $year = ''; + ''; $hour = ''; + ''; $minute = ''; + ''; echo '
'; /* translators: 1: Month, 2: Day, 3: Year, 4: Hour, 5: Minute. */ @@ -1566,23 +1566,24 @@ ++$i; $hidden_class = in_array( $box['id'], $hidden, true ) ? 'hide-if-js' : ''; - $open_class = ''; + $open_class = ''; + $aria_expanded = 'false'; if ( ! $first_open && empty( $hidden_class ) ) { - $first_open = true; - $open_class = 'open'; + $first_open = true; + $open_class = 'open'; + $aria_expanded = 'true'; } ?>
  • -

    - - - - +

    +

    -
    +
    @@ -1783,12 +1784,11 @@ 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'] );