Changeset 4942
- Timestamp:
- 02/19/2017 04:41:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r4534 r4942 5 5 return false; 6 6 } 7 7 8 8 $verify = array( 9 9 'secret' => RECAPTCHA_PRIVKEY, … … 53 53 update_user_meta( $user_id, 'notify_list', 'true' ); 54 54 } 55 55 56 56 $body = sprintf( __( 'Hi %s,', 'wporg-login' ), $user_login ) . "\n\n"; 57 57 $body .= __( 'Welcome to WordPress.org! Your new account has been setup.', 'wporg-login' ) . "\n"; … … 92 92 wp_update_user( array( 93 93 'ID' => get_current_user_id(), 94 'user_url' => esc_url_raw( $value ) 94 'user_url' => esc_url_raw( $value ), 95 95 ) ); 96 96 } else { 97 update_user_meta( $user->ID, $field, $value );97 update_user_meta( get_current_user_id(), $field, $value ); 98 98 } 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.