diff -r 000000000000 -r 03b0d1493584 web/wp-admin/user-edit.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-admin/user-edit.php Wed Dec 23 17:55:33 2009 +0000 @@ -0,0 +1,349 @@ +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; + ?>
+ + +

+ + + +

+
+
+