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; ?>