Removal of create_function usage for BP 2.8
|Reported by:||tw2113||Owned by:||tw2113|
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.