mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -36,7 +36,6 @@ if ( current_user_can('edit_users') && !is_user_admin() )
|
||||
else
|
||||
$parent_file = 'profile.php';
|
||||
|
||||
|
||||
$profile_help = '<p>' . __('Your profile contains information about you (your “account”) as well as some personal options related to using WordPress.') . '</p>' .
|
||||
'<p>' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things. You can hide the Toolbar (formerly called the Admin Bar) from the front end of your site, however it cannot be disabled on the admin screens.') . '</p>' .
|
||||
'<p>' . __('Your username cannot be changed, but you can use other fields to enter your real name or a nickname, and change which name to display on your posts.') . '</p>' .
|
||||
@@ -75,7 +74,6 @@ function use_ssl_preference($user) {
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
// Only allow super admins on multisite to edit every user.
|
||||
if ( is_multisite() && ! current_user_can( 'manage_network_users' ) && $user_id != $current_user->ID && ! apply_filters( 'enable_edit_any_user_configuration', true ) )
|
||||
wp_die( __( 'You do not have permission to edit this user.' ) );
|
||||
|
||||
Reference in New Issue
Block a user