X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e0feb3b2e5b436a06bbb04fbc838d1cd6ec95399..3194d1bb103c2d8db4f44feeced5e58ee2756658:/wp-admin/user-edit.php diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 6143514f..88d4657b 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -59,22 +59,6 @@ $wp_http_referer = remove_query_arg(array('update', 'delete_count'), $wp_http_re $user_can_edit = current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ); -/** - * Optional SSL preference that can be turned on by hooking to the 'personal_options' action. - * - * @since 2.7.0 - * - * @param object $user User data object - */ -function use_ssl_preference($user) { -?> - - - - -" />

-

+

@@ -301,7 +285,7 @@ do_action( 'personal_options', $profileuser ); } ?> -

+

@@ -392,11 +376,11 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
-

+

- +
ID . '_new_email' ); @@ -404,7 +388,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c

Cancel' ), + __( 'There is a pending change of your email to %1$s. Cancel' ), '' . $new_email['newemail'] . '', esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?>

@@ -444,7 +428,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c ?>
-

+

@@ -453,14 +437,50 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c

+ + + + + + +
-

+

@@ -568,7 +588,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> * * The 'Additional Capabilities' section will only be enabled if * the number of the user's capabilities exceeds their number of - * of roles. + * roles. * * @since 2.8.0 * @@ -578,7 +598,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> if ( count( $profileuser->caps ) > count( $profileuser->roles ) && apply_filters( 'additional_capabilities_display', true, $profileuser ) ) : ?> -

+