diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
index 46ac066..8d13f9b 100644
|
a
|
b
|
if ( ! IS_PROFILE_PAGE ) {
|
| 225 | 225 | <input type="hidden" name="checkuser_id" value="<?php echo get_current_user_id(); ?>" /> |
| 226 | 226 | </p> |
| 227 | 227 | |
| | 228 | <div id="user-personal-options-section"> |
| 228 | 229 | <h2><?php _e( 'Personal Options' ); ?></h2> |
| 229 | 230 | |
| 230 | 231 | <table class="form-table"> |
| … |
… |
do_action( 'personal_options', $profileuser );
|
| 281 | 282 | ?> |
| 282 | 283 | |
| 283 | 284 | </table> |
| | 285 | </div> |
| 284 | 286 | <?php |
| 285 | 287 | if ( IS_PROFILE_PAGE ) { |
| 286 | 288 | /** |
| … |
… |
do_action( 'personal_options', $profileuser );
|
| 296 | 298 | } |
| 297 | 299 | ?> |
| 298 | 300 | |
| | 301 | <div id="user-name-section"> |
| 299 | 302 | <h2><?php _e( 'Name' ); ?></h2> |
| 300 | 303 | |
| 301 | 304 | <table class="form-table"> |
| … |
… |
if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
| 386 | 389 | </td> |
| 387 | 390 | </tr> |
| 388 | 391 | </table> |
| | 392 | </div> |
| 389 | 393 | |
| | 394 | <div id="user-contact-info-section"> |
| 390 | 395 | <h2><?php _e( 'Contact Info' ); ?></h2> |
| 391 | 396 | |
| 392 | 397 | <table class="form-table"> |
| … |
… |
if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
| 444 | 449 | } |
| 445 | 450 | ?> |
| 446 | 451 | </table> |
| | 452 | </div> |
| 447 | 453 | |
| | 454 | <div id="user-about-the-user-section"> |
| 448 | 455 | <h2><?php IS_PROFILE_PAGE ? _e( 'About Yourself' ) : _e( 'About the user' ); ?></h2> |
| 449 | 456 | |
| 450 | 457 | <table class="form-table"> |
| … |
… |
if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
|
| 496 | 503 | if ( $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ) ) : |
| 497 | 504 | ?> |
| 498 | 505 | </table> |
| | 506 | </div> |
| 499 | 507 | |
| | 508 | <div id="user-account-management-section"> |
| 500 | 509 | <h2><?php _e( 'Account Management' ); ?></h2> |
| 501 | 510 | <table class="form-table"> |
| 502 | 511 | <tr id="password" class="user-pass1-wrap"> |
| … |
… |
if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?>
|
| 574 | 583 | <?php endif; ?> |
| 575 | 584 | |
| 576 | 585 | </table> |
| | 586 | </div> |
| 577 | 587 | |
| 578 | 588 | <?php |
| 579 | 589 | if ( IS_PROFILE_PAGE ) { |
| … |
… |
if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?>
|
| 615 | 625 | if ( count( $profileuser->caps ) > count( $profileuser->roles ) |
| 616 | 626 | && apply_filters( 'additional_capabilities_display', true, $profileuser ) |
| 617 | 627 | ) : ?> |
| | 628 | <div id="user-additional-capabilities-section"> |
| 618 | 629 | <h2><?php _e( 'Additional Capabilities' ); ?></h2> |
| 619 | 630 | <table class="form-table"> |
| 620 | 631 | <tr class="user-capabilities-wrap"> |
| … |
… |
if ( count( $profileuser->caps ) > count( $profileuser->roles )
|
| 634 | 645 | </td> |
| 635 | 646 | </tr> |
| 636 | 647 | </table> |
| | 648 | </div> |
| 637 | 649 | <?php endif; ?> |
| 638 | 650 | |
| 639 | 651 | <input type="hidden" name="action" value="update" /> |