diff -r a4642baaf829 -r 4d4862461b8d web/wp-admin/user-edit.php --- a/web/wp-admin/user-edit.php Tue Feb 02 14:45:47 2010 +0000 +++ b/web/wp-admin/user-edit.php Tue Feb 02 15:44:16 2010 +0000 @@ -1,349 +1,346 @@ -ID; - } else { - wp_die(__('Invalid user ID.')); - } -} elseif ( !get_userdata($user_id) ) { - wp_die( __('Invalid user ID.') ); -} - -$all_post_caps = array('posts', 'pages'); -$user_can_edit = false; -foreach ( $all_post_caps as $post_cap ) - $user_can_edit |= current_user_can("edit_$post_cap"); - -/** - * 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) { -?> - - - - - - - -
-

- -

- -
- - -
- -
- - -
- -

- -
- - - - -

- - -

- -

- - - - - - - - - 1 ) : ?> - - - - - - - - - - -
- $color_info ): ?> -
/> - - - colors as $html_color ): ?> - - - -
 
- - -
- -
More information'); ?>
- - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- - - - - - - - - - - - - -

-

-
-
-

-
- - - -caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser)): ?> -
- - - - - -
caps as $cap => $value) { - if(!$wp_roles->is_role($cap)) { - if($output != '') $output .= ', '; - $output .= $value ? $cap : "Denied: {$cap}"; - } - } - echo $output; - ?>
- - -

- - - -

-
-
- +ID; + } else { + wp_die(__('Invalid user ID.')); + } +} elseif ( !get_userdata($user_id) ) { + wp_die( __('Invalid user ID.') ); +} + +$all_post_caps = array('posts', 'pages'); +$user_can_edit = false; +foreach ( $all_post_caps as $post_cap ) + $user_can_edit |= current_user_can("edit_$post_cap"); + +/** + * 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) { +?> + + + + + + + +
+

+ +

+ +
+ + +
+ +
+ + +
+ +

+ +
+ + + + +

+ + +

+ +

+ + + + + + + + + 1 ) : ?> + + + + + + + + + + +
+ $color_info ): ?> +
/> + + + colors as $html_color ): ?> + + + +
 
+ + +
+ +
More information'); ?>
+ + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

+ + + + + + + + + + + + + $desc) { +?> + + + + + +
+ +

+ + + + + + + + + + + + + +

+

+
+
+

+
+ + + +caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) { ?> +
+ + + + + +
caps as $cap => $value ) { + if ( !$wp_roles->is_role($cap) ) { + if ( $output != '' ) + $output .= ', '; + $output .= $value ? $cap : "Denied: {$cap}"; + } + } + echo $output; + ?>
+ + +

+ + + +

+
+
+