Changeset 12745 for trunk/src/bp-settings/bp-settings-functions.php
- Timestamp:
- 10/09/2020 07:17:20 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-functions.php
r12694 r12745 250 250 if ( ! empty( $query->post ) ) { 251 251 // WP 5.4 changed the user request function name to wp_get_user_request() 252 $user_request = function_exists( 'wp_get_user_request' ) ? 'wp_get_user_request' : 'wp_get_user_request_data';252 $user_request = bp_is_running_wp( '4.9.6' ) ? 'wp_get_user_request' : 'wp_get_user_request_data'; 253 253 return $user_request( $query->post->ID ); 254 254 } else {
Note: See TracChangeset
for help on using the changeset viewer.