Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#8048 closed defect (bug) (fixed)

Import should warn you before you post an import file

Reported by: filosofo Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch wp_import_upload_form import
Focuses: Cc:


Typically, someone is importing from another blog shortly after installing WordPress, which usually means that the person hasn't yet thought to make the blog's uploads directory writable.

So often what happens is that you drill down to the particular import upload page, press upload, and after cranking for a bit WP informs you that your uploads directory is not writable.

It makes more sense to have WP warn you to make/make writable the directory before submitting the import file; before even printing the upload form.

For those of us with high-speed unlimited Internet connections, it's just an unnecessary extra step. For others with slow connections or capped bandwidth, it's worse to submit a usually several-megabyte file fruitlessly.

My patch puts a warning message (that you would see eventually anyways) in place of the upload form, if applicable.

Attachments (2)

import_upload_warning.diff (882 bytes) - added by filosofo 10 years ago.
import_upload_warning.8048.diff (885 bytes) - added by filosofo 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10561]) Warn if upload dir not writable when importing. Props filosofo. fixes #8048

Note: See TracTickets for help on using tickets.