Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/03/2020 01:33:59 PM (4 months ago)
Author:
xknown
Message:

PHP 7.4 Compat: Remove the create_function calls.

They are deprecated, and they seem to be removed in PHP 8.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-admin/options-discussion.php

    r2865 r7111  
    7373);
    7474
    75 $bb_get_option_avatars_show = create_function( '$a', 'return 1;' );
     75$bb_get_option_avatars_show = function( $a ) { return 1; };
    7676add_filter( 'bb_get_option_avatars_show', $bb_get_option_avatars_show );
    7777$avatar_options = array(
Note: See TracChangeset for help on using the changeset viewer.