[wp-trac] [WordPress Trac] #14424: Eliminate dynamic function definitions, ie create_function
WordPress Trac
noreply at wordpress.org
Mon Mar 3 19:00:16 UTC 2014
#14424: Eliminate dynamic function definitions, ie create_function
---------------------------------------+--------------------------
Reporter: ScottMac | Owner: westi
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.9
Component: General | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: ongoing-project has-patch | Focuses: performance
---------------------------------------+--------------------------
Comment (by lpointet):
Replying to [comment:30 nacin]:
> In [changeset:"27374"]:
> {{{
> #!CommitTicketReference repository="" revision="27374"
> Slight renaming in our callback in [27373]. see #14424.
> }}}
It seems _uasort_by_first_member callback was directly used in wp-
admin/import.php (line 77). This commit leads then to the following PHP
warning:
uasort() expects parameter 2 to be a valid callback, function
'_uasort_by_first_member' not found or invalid function name
The callback should be updated in that file too, or we may use a new
function to merge data from get_importers() and
wp_get_popular_importers()?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14424#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list