Changeset 8133 for trunk/bp-blogs/bp-blogs-functions.php
- Timestamp:
- 03/14/2014 01:04:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-functions.php
r8132 r8133 896 896 remove_filter( 'query', 'bp_filter_metaid_column_name' ); 897 897 898 // Legacy - If no meta_key is passed, return only the found values,899 // not a structured array900 if ( empty( $meta_key ) && is_array( $retval ) ) {901 $values = array();902 foreach ( $retval as $value ) {903 $values[] = array_pop( $value );904 }905 $retval = $values;906 }907 908 898 return $retval; 909 899 }
Note: See TracChangeset
for help on using the changeset viewer.