Changeset 43183
- Timestamp:
- 05/08/2018 11:28:47 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/user.php
r43175 r43183 610 610 611 611 /** 612 * Marks a request as completed by the admin and logs the datetime.612 * Marks a request as completed by the admin and logs the current timestamp. 613 613 * 614 614 * @since 4.9.6 615 615 * @access private 616 616 * 617 * @param int$request_id Request ID.618 * @return int|WP_Error Request ID on succes or WP_Error.617 * @param int $request_id Request ID. 618 * @return int|WP_Error $request Request ID on success or WP_Error. 619 619 */ 620 620 function _wp_privacy_completed_request( $request_id ) { … … 626 626 } 627 627 628 update_post_meta( $request_id, '_wp_user_request_co nfirmed_timestamp', time() );628 update_post_meta( $request_id, '_wp_user_request_completed_timestamp', time() ); 629 629 630 630 $request = wp_update_post( array( 631 631 'ID' => $request_id, 632 'post_status' => 'request-co nfirmed',632 'post_status' => 'request-completed', 633 633 ) ); 634 634
Note: See TracChangeset
for help on using the changeset viewer.