WordPress.org

Make WordPress Core

Ticket #26601: 26601.network.diff

File 26601.network.diff, 3.7 KB (added by afercia, 3 years ago)
  • src/wp-admin/my-sites.php

     
    5555<?php } ?>
    5656
    5757<div class="wrap">
    58 <h1><?php
     58<h1 class="wp-heading-inline"><?php
    5959echo esc_html( $title );
     60?></h1>
    6061
     62<?php
    6163if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) {
    6264        /** This filter is documented in wp-login.php */
    6365        $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    6466        printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) );
    6567}
    66 ?></h1>
    6768
    68 <?php
    6969if ( empty( $blogs ) ) :
    7070        echo '<p>';
    7171        _e( 'You must be a member of at least one site to use this page.' );
     
    7272        echo '</p>';
    7373else :
    7474?>
     75
     76<hr class="wp-header-end">
     77
    7578<form id="myblogs" method="post">
    7679        <?php
    7780        choose_primary_blog();
  • src/wp-admin/network/sites.php

     
    287287?>
    288288
    289289<div class="wrap">
    290 <h1><?php _e( 'Sites' ); ?>
     290<h1 class="wp-heading-inline"><?php _e( 'Sites' ); ?></h1>
    291291
    292292<?php if ( current_user_can( 'create_sites') ) : ?>
    293293        <a href="<?php echo network_admin_url('site-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
     
    297297if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    298298        /* translators: %s: search keywords */
    299299        printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    300 } ?>
    301 </h1>
     300}
     301?>
    302302
     303<hr class="wp-header-end">
     304
    303305<?php echo $msg; ?>
    304306
    305307<form method="get" id="ms-search">
  • src/wp-admin/network/themes.php

     
    247247?>
    248248
    249249<div class="wrap">
    250 <h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php }
     250<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
     251
     252<?php if ( current_user_can( 'install_themes' ) ) : ?>
     253        <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a>
     254<?php endif; ?>
     255
     256<?php
    251257if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    252258        /* translators: %s: search keywords */
    253259        printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    254260}
    255261?>
    256 </h1>
    257262
     263<hr class="wp-header-end">
     264
    258265<?php
    259266if ( isset( $_GET['enabled'] ) ) {
    260267        $enabled = absint( $_GET['enabled'] );
  • src/wp-admin/network/users.php

     
    215215}
    216216        ?>
    217217<div class="wrap">
    218         <h1><?php esc_html_e( 'Users' );
     218        <h1 class="wp-heading-inline"><?php esc_html_e( 'Users' ); ?></h1>
     219
     220        <?php
    219221        if ( current_user_can( 'create_users') ) : ?>
    220222                <a href="<?php echo network_admin_url('user-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php
    221223        endif;
     
    225227                printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $usersearch ) );
    226228        }
    227229        ?>
    228         </h1>
    229230
     231        <hr class="wp-header-end">
     232
    230233        <?php $wp_list_table->views(); ?>
    231234
    232235        <form method="get" class="search-form">