WordPress.org

Make WordPress Core

Ticket #26601: 26601.user-edit.diff

File 26601.user-edit.diff, 1.1 KB (added by afercia, 3 years ago)
  • src/wp-admin/user-edit.php

     
    198198<?php endif; ?>
    199199
    200200<div class="wrap" id="profile-page">
    201 <h1>
     201<h1 class="wp-heading-inline"><?php
     202echo esc_html( $title );
     203?></h1>
     204
    202205<?php
    203 echo esc_html( $title );
    204206if ( ! IS_PROFILE_PAGE ) {
    205207        if ( current_user_can( 'create_users' ) ) { ?>
    206208                <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
     
    207209        <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
    208210                <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
    209211        <?php }
    210 } ?>
    211 </h1>
     212}
     213?>
     214
     215<hr class="wp-header-end">
     216
    212217<form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post" novalidate="novalidate"<?php
    213218        /**
    214219         * Fires inside the your-profile form tag on the user editing screen.