Changeset 11929 for trunk/wp-admin/user-edit.php
- Timestamp:
- 09/14/2009 01:57:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r11830 r11929 285 285 <tr> 286 286 <th><label for="description"><?php _e('Biographical Info'); ?></label></th> 287 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description?></textarea><br />287 <td><textarea name="description" id="description" rows="5" cols="30"><?php echo esc_html($profileuser->description); ?></textarea><br /> 288 288 <span class="description"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></span></td> 289 289 </tr> … … 312 312 ?> 313 313 314 <?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser)):?>314 <?php if ( count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser) ) { ?> 315 315 <br class="clear" /> 316 316 <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform"> … … 319 319 <td><?php 320 320 $output = ''; 321 foreach($profileuser->caps as $cap => $value) { 322 if(!$wp_roles->is_role($cap)) { 323 if($output != '') $output .= ', '; 321 foreach ( $profileuser->caps as $cap => $value ) { 322 if ( !$wp_roles->is_role($cap) ) { 323 if ( $output != '' ) 324 $output .= ', '; 324 325 $output .= $value ? $cap : "Denied: {$cap}"; 325 326 } … … 329 330 </tr> 330 331 </table> 331 <?php endif;?>332 <?php } ?> 332 333 333 334 <p class="submit">
Note: See TracChangeset
for help on using the changeset viewer.