Ticket #26601: 26601.user-edit.diff
| File 26601.user-edit.diff, 1.1 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/user-edit.php
198 198 <?php endif; ?> 199 199 200 200 <div class="wrap" id="profile-page"> 201 <h1> 201 <h1 class="wp-heading-inline"><?php 202 echo esc_html( $title ); 203 ?></h1> 204 202 205 <?php 203 echo esc_html( $title );204 206 if ( ! IS_PROFILE_PAGE ) { 205 207 if ( current_user_can( 'create_users' ) ) { ?> 206 208 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> … … 207 209 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 208 210 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 209 211 <?php } 210 } ?> 211 </h1> 212 } 213 ?> 214 215 <hr class="wp-header-end"> 216 212 217 <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 213 218 /** 214 219 * Fires inside the your-profile form tag on the user editing screen.