Changeset 13878 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 06/01/2024 04:26:18 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r13818 r13878 208 208 */ 209 209 function bp_sort_by_key( $items, $key, $type = 'alpha', $preserve_keys = false ) { 210 $callback = function ( $a, $b ) use ( $key, $type ) {210 $callback = function ( $a, $b ) use ( $key, $type ) { 211 211 $values = array( 0 => false, 1 => false ); 212 212 foreach ( func_get_args() as $indexi => $index ) { … … 2801 2801 $user_is_displayed = bp_is_user(); 2802 2802 2803 foreach ( $primary_items as $primary_item ) {2803 foreach ( $primary_items as $primary_item ) { 2804 2804 $current_user_link = $primary_item['link']; 2805 2805
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)