[buddypress-trac] [BuddyPress Trac] #7325: Removal of create_function usage for BP 2.8
buddypress-trac
noreply at wordpress.org
Mon Jun 26 16:34:58 UTC 2017
#7325: Removal of create_function usage for BP 2.8
-------------------------+---------------------
Reporter: tw2113 | Owner: tw2113
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.8
Component: Core | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+---------------------
Comment (by tw2113):
Current list of existing ones that were skipped previously or missed
earlier:
src/bp-core/deprecated/1.6.php
268: add_action( 'wp_ajax_' . $action, create_function( '',
'exit;' ), 9999 );
269: add_action( 'wp_ajax_nopriv_' . $action, create_function( '',
'exit;' ), 9999 );
src/bp-groups/classes/class-bp-group-extension.php
756: add_action( 'bp_template_content_header', create_function( '',
'echo "' . esc_attr( $this->name ) . '";' ) );
757: add_action( 'bp_template_title', create_function( '',
'echo "' . esc_attr( $this->name ) . '";' ) );
1202: create_function( '', 'do_action(
"bp_groups_admin_meta_box_content_' . $this->slug . '", ' . $group_id . '
);' ),
src/bp-members/bp-members-screens.php
198: add_action( 'bp_' . $fieldname . '_errors', create_function( '',
'echo apply_filters(\'bp_members_signup_error_message\', "<div
class=\"error\">" . stripslashes( \'' . addslashes( $error_message ) . '\'
) . "</div>" );' ) );
src/bp-templates/bp-legacy/buddypress-functions.php
1611: add_filter( 'bp_get_the_thread_message_css_class',
create_function( '$retval', '
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7325#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list