Changeset 12745 for trunk/src/bp-core/bp-core-blocks.php
- Timestamp:
- 10/09/2020 07:17:20 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-blocks.php
r12684 r12745 20 20 */ 21 21 function bp_support_blocks() { 22 return function_exists( 'register_block_type' ) && bp_rest_api_is_available();22 return bp_is_running_wp( '5.0.0' ) && bp_rest_api_is_available(); 23 23 } 24 24
Note: See TracChangeset
for help on using the changeset viewer.