WordPress.org

Make WordPress Core

Ticket #19237: admin-screens-h3-tabs.diff

File admin-screens-h3-tabs.diff, 2.0 KB (added by devinreams, 7 years ago)

Switching h2s for admin page tabs to h3 to demonstrate admin_notice placement

  • wp-admin/freedoms.php

     
    2323
    2424<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2525
    26 <h2 class="nav-tab-wrapper">
     26<h3 class="nav-tab-wrapper">
    2727        <a href="about.php" class="nav-tab">
    2828                <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
    2929        </a><a href="credits.php" class="nav-tab">
     
    3131        </a><a href="freedoms.php" class="nav-tab nav-tab-active">
    3232                <?php _e( 'Freedoms' ); ?>
    3333        </a>
    34 </h2>
     34</h3>
    3535
    3636<h3><?php _e( 'Freedoms' ); ?></h3>
    3737
  • wp-admin/credits.php

     
    6666
    6767<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    6868
    69 <h2 class="nav-tab-wrapper">
     69<h3 class="nav-tab-wrapper">
    7070        <a href="about.php" class="nav-tab">
    7171                <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
    7272        </a><a href="credits.php" class="nav-tab nav-tab-active">
     
    7474        </a><a href="freedoms.php" class="nav-tab">
    7575                <?php _e( 'Freedoms' ); ?>
    7676        </a>
    77 </h2>
     77</h3>
    7878
    7979<h3><?php _e( 'Credits' ); ?></h3>
    8080
  • wp-admin/about.php

     
    2323
    2424<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2525
    26 <h2 class="nav-tab-wrapper">
     26<h3 class="nav-tab-wrapper">
    2727        <a href="about.php" class="nav-tab nav-tab-active">
    2828                <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
    2929        </a><a href="credits.php" class="nav-tab">
     
    3131        </a><a href="freedoms.php" class="nav-tab">
    3232                <?php _e( 'Freedoms' ); ?>
    3333        </a>
    34 </h2>
     34</h3>
    3535
    3636<div class="changelog">
    3737        <h3><?php _e('For Users'); ?></h3>