Changeset 43187 for branches/4.9/src/wp-admin/includes/user.php
- Timestamp:
- 05/09/2018 02:30:59 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/user.php
r43176 r43187 569 569 570 570 /** 571 * Marks a request as completed by the admin and logs the datetime.571 * Marks a request as completed by the admin and logs the current timestamp. 572 572 * 573 573 * @since 4.9.6 574 574 * @access private 575 575 * 576 * @param int$request_id Request ID.577 * @return int|WP_Error Request ID on succes or WP_Error.576 * @param int $request_id Request ID. 577 * @return int|WP_Error $request Request ID on success or WP_Error. 578 578 */ 579 579 function _wp_privacy_completed_request( $request_id ) { … … 585 585 } 586 586 587 update_post_meta( $request_id, '_wp_user_request_co nfirmed_timestamp', time() );587 update_post_meta( $request_id, '_wp_user_request_completed_timestamp', time() ); 588 588 589 589 $request = wp_update_post( array( 590 590 'ID' => $request_id, 591 'post_status' => 'request-co nfirmed',591 'post_status' => 'request-completed', 592 592 ) ); 593 593
Note: See TracChangeset
for help on using the changeset viewer.