Changeset 13968 for trunk/src/bp-core/bp-core-rest-api.php
- Timestamp:
- 07/23/2024 01:13:42 AM (19 months ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-rest-api.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-rest-api.php
r13903 r13968 25 25 * Should we use the REST Endpoints of built BuddyPress? 26 26 * 27 * If the BP REST plugin is active, it overrides BuddyPress REST en points.27 * If the BP REST plugin is active, it overrides BuddyPress REST endpoints. 28 28 * This allows us to carry on maintaining all the BP REST API endpoints from 29 29 * the BP REST plugin on GitHub. … … 55 55 * @since 5.0.0 56 56 * 57 * @param bool ean $value True if the BP REST API is available. False otherwise.57 * @param bool $api_is_available True if the BP REST API is available. False otherwise. 58 58 */ 59 59 return apply_filters( 'bp_rest_api_is_available', bp_rest_in_buddypress() ) || bp_rest_is_plugin_active(); … … 204 204 function bp_rest_sanitize_member_types( $value ) { 205 205 if ( empty( $value ) ) { 206 return $value;206 return null; 207 207 } 208 208
Note: See TracChangeset
for help on using the changeset viewer.