Changeset 13932
- Timestamp:
- 06/20/2024 07:03:29 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-theme-compatibility.php
r13912 r13932 1090 1090 */ 1091 1091 function _bp_filter_current_theme_supports( $supports = false, $args = array(), $feature = null ) { 1092 $params = reset( $args ); 1093 $is_expected_params = array_filter( array_map( 'is_string', array_keys( $params ) ) ); 1092 $is_expected_params = array(); 1093 1094 if ( isset( $args[0] ) && is_array( $args[0] ) ) { 1095 $is_expected_params = array_filter( array_map( 'is_string', array_keys( $args[0] ) ) ); 1096 } 1094 1097 1095 1098 if ( true === $supports && $is_expected_params ) {
Note: See TracChangeset
for help on using the changeset viewer.