Changeset 11302
- Timestamp:
- 05/12/2009 04:54:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r11283 r11302 143 143 144 144 if ($is_profile_page) 145 do_action('personal_options_update' );145 do_action('personal_options_update', $user_id); 146 146 else 147 do_action('edit_user_profile_update' );147 do_action('edit_user_profile_update', $user_id); 148 148 149 149 $errors = edit_user($user_id); … … 351 351 352 352 <?php 353 $show_password_fields = apply_filters('show_password_fields', true );353 $show_password_fields = apply_filters('show_password_fields', true, $profileuser); 354 354 if ( $show_password_fields ) : 355 355 ?> … … 369 369 <?php 370 370 if ( $is_profile_page ) { 371 do_action('show_user_profile' );371 do_action('show_user_profile', $profileuser); 372 372 } else { 373 do_action('edit_user_profile' );373 do_action('edit_user_profile', $profileuser); 374 374 } 375 375 ?> 376 376 377 <?php if (count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true )): ?>377 <?php if (count($profileuser->caps) > count($profileuser->roles) && apply_filters('additional_capabilities_display', true, $profileuser)): ?> 378 378 <br class="clear" /> 379 379 <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform">
Note: See TracChangeset
for help on using the changeset viewer.