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