Changeset 43571 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r43318 r43571 1337 1337 * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily). 1338 1338 * @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'. 1339 1339 * @return bool $redirect False if the redirect was cancelled, true otherwise. 1340 1340 */ 1341 1341 function wp_safe_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) { … … 1754 1754 _n( 1755 1755 'Currently %s comment is waiting for approval. Please visit the moderation panel:', 1756 'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting 1757 ), number_format_i18n( $comments_waiting ) 1756 'Currently %s comments are waiting for approval. Please visit the moderation panel:', 1757 $comments_waiting 1758 ), 1759 number_format_i18n( $comments_waiting ) 1758 1760 ) . "\r\n"; 1759 1761 $notify_message .= admin_url( 'edit-comments.php?comment_status=moderated#wpbody-content' ) . "\r\n"; … … 2490 2492 $hash = wp_hash_password( $password ); 2491 2493 $wpdb->update( 2492 $wpdb->users, array( 2494 $wpdb->users, 2495 array( 2493 2496 'user_pass' => $hash, 2494 2497 'user_activation_key' => '', 2495 ), array( 'ID' => $user_id ) 2498 ), 2499 array( 'ID' => $user_id ) 2496 2500 ); 2497 2501
Note: See TracChangeset
for help on using the changeset viewer.