Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/02/2017 08:13:14 PM (7 years ago)
Author:
tw2113
Message:

Removes usage of create_function across various BuddyPress components.

See #7325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r11360 r11366  
    701701
    702702        // Sort these fields types alphabetically.
    703         uasort( $fields, create_function( '$a, $b', 'return strnatcmp( $a[1]->name, $b[1]->name );' ) );
     703        uasort( $fields, function( $a, $b ) { return strnatcmp( $a[1]->name, $b[1]->name ); } );
    704704
    705705        foreach ( $fields as $field_type_obj ) {
Note: See TracChangeset for help on using the changeset viewer.