Opened 16 years ago
Closed 16 years ago
#13806 closed defect (bug) (fixed)
Only sort importers if some exist
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch needs-testing |
| Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [15181]) Sort only when importers exist. Props aaroncampbell. fixes #13806