Changeset 13140 for trunk/src/bp-settings/bp-settings-functions.php
- Timestamp:
- 11/07/2021 05:22:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-functions.php
r13090 r13140 249 249 250 250 if ( ! empty( $query->post ) ) { 251 // WP 5.4 changed the user request function name to wp_get_user_request() 252 $user_request = bp_is_running_wp( '4.9.6' ) ? 'wp_get_user_request' : 'wp_get_user_request_data'; 253 return $user_request( $query->post->ID ); 251 return wp_get_user_request( $query->post->ID ); 254 252 } else { 255 253 return false;
Note: See TracChangeset
for help on using the changeset viewer.