Changeset 47245 for trunk/src/wp-includes/user.php
- Timestamp:
- 02/10/2020 07:55:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r47237 r47245 3097 3097 */ 3098 3098 function _wp_privacy_account_request_confirmed( $request_id ) { 3099 $request = wp_get_user_request _data( $request_id );3099 $request = wp_get_user_request( $request_id ); 3100 3100 3101 3101 if ( ! $request ) { … … 3127 3127 */ 3128 3128 function _wp_privacy_send_request_confirmation_notification( $request_id ) { 3129 $request = wp_get_user_request _data( $request_id );3129 $request = wp_get_user_request( $request_id ); 3130 3130 3131 3131 if ( ! is_a( $request, 'WP_User_Request' ) || 'request-confirmed' !== $request->status ) { … … 3266 3266 */ 3267 3267 function _wp_privacy_send_erasure_fulfillment_notification( $request_id ) { 3268 $request = wp_get_user_request _data( $request_id );3268 $request = wp_get_user_request( $request_id ); 3269 3269 3270 3270 if ( ! is_a( $request, 'WP_User_Request' ) || 'request-completed' !== $request->status ) { … … 3416 3416 */ 3417 3417 function _wp_privacy_account_request_confirmed_message( $request_id ) { 3418 $request = wp_get_user_request _data( $request_id );3418 $request = wp_get_user_request( $request_id ); 3419 3419 3420 3420 $message = '<p class="success">' . __( 'Action has been confirmed.' ) . '</p>'; … … 3552 3552 function wp_send_user_request( $request_id ) { 3553 3553 $request_id = absint( $request_id ); 3554 $request = wp_get_user_request _data( $request_id );3554 $request = wp_get_user_request( $request_id ); 3555 3555 3556 3556 if ( ! $request ) { … … 3714 3714 3715 3715 $request_id = absint( $request_id ); 3716 $request = wp_get_user_request _data( $request_id );3716 $request = wp_get_user_request( $request_id ); 3717 3717 3718 3718 if ( ! $request ) { … … 3766 3766 3767 3767 /** 3768 * Return data about a user request.3768 * Return the user request object for the specified request ID. 3769 3769 * 3770 3770 * @since 4.9.6 3771 3771 * 3772 * @param int $request_id Request ID to get data about.3772 * @param int $request_id The ID of the user request. 3773 3773 * @return WP_User_Request|false 3774 3774 */ 3775 function wp_get_user_request _data( $request_id ) {3775 function wp_get_user_request( $request_id ) { 3776 3776 $request_id = absint( $request_id ); 3777 3777 $post = get_post( $request_id );
Note: See TracChangeset
for help on using the changeset viewer.