Make WordPress Core

Ticket #26396: 26396.4.patch

File 26396.4.patch, 7.1 KB (added by afercia, 9 years ago)
  • src/wp-admin/about.php

     
    4242                <div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s makes your site more connected and responsive.' ), $display_version ); ?></div>
    4343                <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    4444
    45                 <h2 class="nav-tab-wrapper">
     45                <h2 class="nav-tab-wrapper wp-clearfix">
    4646                        <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
    4747                        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    4848                        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  • src/wp-admin/credits.php

     
    2424
    2525<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    2626
    27 <h2 class="nav-tab-wrapper">
     27<h2 class="nav-tab-wrapper wp-clearfix">
    2828        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    2929        <a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
    3030        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
  • src/wp-admin/css/common.css

     
    114114        clear: both;
    115115}
    116116
     117/* modern clearfix */
     118.wp-clearfix:after {
     119        content: "";
     120        display: table;
     121        clear: both;
     122}
     123
    117124/* Hide visually but not from screen readers */
    118125.screen-reader-text,
    119126.screen-reader-text span,
     
    20602067h3.nav-tab-wrapper {
    20612068        border-bottom: 1px solid #ccc;
    20622069        margin: 0;
    2063         padding: 9px 15px 0 0;
     2070        padding-top: 9px;
    20642071        line-height: inherit;
    20652072}
    20662073
    2067 /* contain floats */
    2068 .nav-tab-wrapper:after {
    2069         content: "";
    2070         display: table;
    2071         clear: both;
     2074/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */
     2075.nav-tab-wrapper:not(.wp-clearfix):after {
     2076        content: "";
     2077        display: table;
     2078        clear: both;
     2079 }
     2080
     2081.ie8 .nav-tab-wrapper {
     2082        /* contain floats establishing a new block formatting context */
     2083        display: inline-block;
     2084        width: 100%;
     2085        vertical-align: top;
    20722086}
    20732087
    20742088/*------------------------------------------------------------------------------
     
    36353649        h1.nav-tab-wrapper,
    36363650        .wrap h2.nav-tab-wrapper,
    36373651        h3.nav-tab-wrapper {
    3638                 padding-left: 0;
    36393652                border-bottom: 0;
    36403653        }
    36413654
     
    36423655        h1 .nav-tab,
    36433656        h2 .nav-tab,
    36443657        h3 .nav-tab {
    3645                 margin-top: 10px;
    3646                 margin-right: 10px;
     3658                margin: 10px 10px 0 0;
    36473659                border-bottom: 1px solid #ccc;
    36483660        }
    36493661}
  • src/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<h2 class="nav-tab-wrapper wp-clearfix">
    2727        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    2828        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    2929        <a href="freedoms.php" class="nav-tab nav-tab-active"><?php _e( 'Freedoms' ); ?></a>
  • src/wp-admin/nav-menus.php

     
    584584                endif;
    585585                ?>
    586586        </h1>
    587         <h2 class="nav-tab-wrapper">
     587        <h2 class="nav-tab-wrapper wp-clearfix">
    588588                <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php if ( ! isset( $_GET['action'] ) || isset( $_GET['action'] ) && 'locations' != $_GET['action'] ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Edit Menus' ); ?></a>
    589589                <?php if ( $num_locations && $menu_count ) : ?>
    590590                        <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php if ( $locations_screen ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Manage Locations' ); ?></a>
  • src/wp-admin/network/site-info.php

     
    138138<div class="wrap">
    139139<h1 id="edit-site"><?php echo $title; ?></h1>
    140140<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    141 <h2 class="nav-tab-wrapper nav-tab-small">
     141<h2 class="nav-tab-wrapper nav-tab-small wp-clearfix">
    142142<?php
    143143$tabs = array(
    144144        'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),
  • src/wp-admin/network/site-settings.php

     
    9595<div class="wrap">
    9696<h1 id="edit-site"><?php echo $title; ?></h1>
    9797<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    98 <h2 class="nav-tab-wrapper nav-tab-small">
     98<h2 class="nav-tab-wrapper nav-tab-small wp-clearfix">
    9999<?php
    100100$tabs = array(
    101101        'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),
  • src/wp-admin/network/site-themes.php

     
    149149<div class="wrap">
    150150<h1 id="edit-site"><?php echo $title; ?></h1>
    151151<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    152 <h2 class="nav-tab-wrapper nav-tab-small">
     152<h2 class="nav-tab-wrapper nav-tab-small wp-clearfix">
    153153<?php
    154154$tabs = array(
    155155        'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),
  • src/wp-admin/network/site-users.php

     
    204204<div class="wrap">
    205205<h1 id="edit-site"><?php echo $title; ?></h1>
    206206<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    207 <h2 class="nav-tab-wrapper nav-tab-small">
     207<h2 class="nav-tab-wrapper nav-tab-small wp-clearfix">
    208208<?php
    209209$tabs = array(
    210210        'site-info'     => array( 'label' => __( 'Info' ),     'url' => 'site-info.php'     ),