[buddypress-trac] [BuddyPress Trac] #7325: Removal of create_function usage for BP 2.8

buddypress-trac noreply at wordpress.org
Fri Nov 4 16:08:18 UTC 2016

#7325: Removal of create_function usage for BP 2.8
 Reporter:  tw2113       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:
 With BuddyPress 2.8 slated to be PHP 5.3 or higher, we finally have the
 opportunity to remove usage of create_function from the codebase.

 Proposing the solution of simply replacing the spots inline, moving them
 to PHP5.3 anonymous functions.

 Make sure to run unit tests suite to help ensure as little breakage as
 possible, and provide new unit tests if at all possible.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7325>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list