[wp-trac] [WordPress Trac] #13806: Only sort importers if some exist
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 9 20:24:54 UTC 2010
#13806: Only sort importers if some exist
---------------------------+------------------------------------------------
Reporter: aaroncampbell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version:
Severity: normal | Keywords: has-patch needs-testing
---------------------------+------------------------------------------------
Currently if you have no importers you get a warning:
'''Warning''': uasort() [function.uasort]: The argument should be an array
in /path/to/wp-admin/import.php on line 86
Right after we sort we check if $importer is empty, so I'm just moving the
sort to happen only if importers exist.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13806>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list