[buddypress-trac] [BuddyPress Trac] #7325: Removal of create_function usage for BP 2.8
buddypress-trac
noreply at wordpress.org
Fri Nov 4 22:30:12 UTC 2016
#7325: Removal of create_function usage for BP 2.8
-------------------------+------------------
Reporter: tw2113 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Comment (by tw2113):
I am not sure about these, due to the legacy theme and the deprecated file
that we are no longer even loading for new installs.
{{{
src/bp-core/deprecated/1.6.php
add_action( 'wp_ajax_' . $action, create_function( '', 'exit;' ),
9999 );
add_action( 'wp_ajax_nopriv_' . $action, create_function( '', 'exit;' ),
9999 );
src/bp-templates/bp-legacy/buddypress-functions.php
add_filter( 'bp_get_the_thread_message_css_class', create_function(
'$retval', '
}}}
I'm fine with leaving them for the moment.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7325#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list