Changeset 8133 for trunk/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 03/14/2014 01:04:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-functions.php
r8132 r8133 641 641 remove_filter( 'query', 'bp_xprofile_filter_meta_query' ); 642 642 643 // Legacy - if no meta_key is provided, return just the located644 // values (not a structured array)645 if ( empty( $meta_key ) && ! empty( $retval ) ) {646 $values = array();647 foreach ( $retval as $v ) {648 $values[] = array_pop( $v );649 }650 651 $retval = $values;652 }653 654 643 return $retval; 655 644 }
Note: See TracChangeset
for help on using the changeset viewer.