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-forums/bp-forums-bbpress-sa.php

    r11363 r11366  
    150150     * @since 1.1.0
    151151     */
    152     register_shutdown_function( create_function( '', 'do_action("bb_shutdown");' ) );
     152    register_shutdown_function( function() { do_action( 'bb_shutdown' ); } );
    153153}
    154154add_action( 'bbpress_init', 'bp_forums_load_bbpress' );
Note: See TracChangeset for help on using the changeset viewer.