WordPress.org

Make WordPress Core

Ticket #26396: 26396.3.patch

File 26396.3.patch, 6.6 KB (added by afercia, 5 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,
     
    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. Core tabs now use a modern clearfix. */
     2075.nav-tab-wrapper {
     2076        overflow: hidden;
    20722077}
    20732078
     2079.nav-tab-wrapper.wp-clearfix {
     2080        overflow: visible;
     2081}
     2082
    20742083/*------------------------------------------------------------------------------
    20752084  26.0 - Misc
    20762085------------------------------------------------------------------------------*/
  • 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'     ),