Changeset 16673 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 12/01/2010 10:12:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r15746 r16673 433 433 add_action( 'wpmueditblogaction', 'upload_space_setting' ); 434 434 435 function update_user_status( $id, $pref, $value, $ refresh = 1) {435 function update_user_status( $id, $pref, $value, $deprecated = null ) { 436 436 global $wpdb; 437 437 438 if ( null !== $deprecated ) 439 _deprecated_argument( __FUNCTION__, '3.1.0' ); 440 438 441 $wpdb->update( $wpdb->users, array( $pref => $value ), array( 'ID' => $id ) ); 439 442 440 if ( $refresh == 1 ) 441 refresh_user_details( $id ); 443 clean_user_cache( $id ); 442 444 443 445 if ( $pref == 'spam' ) {
Note: See TracChangeset
for help on using the changeset viewer.