Make WordPress Core

Opened 10 years ago

Closed 8 years ago

#28171 closed defect (bug) (worksforme)

Uploading themes over the PHP upload file size limit throws a non user friendly error

Reported by: ipstenu's profile Ipstenu Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: administration Cc:

Description

To Reproduce:

Get a theme that's, say, 8 megs in a zip.

Go to Appearance -> Themes -> Add New -> Upload Theme -> Choose File -> Install Now

What happens:

WP dumps you out into the white box on grey text:

Are you sure you want to continue?
Please try again

What I expected to happen:

Something less unfriendly like an error in a box on the uploader page "Bazinga! That zip is too big!"

Change History (2)

#1 @eherman24
10 years ago

It seems that this now returns a more friendly error message

"The uploaded file exceeds the upload_max_filesize directive in php.ini."

Last edited 10 years ago by eherman24 (previous) (diff)

#2 @chriscct7
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Resolved now as noted in comment:1

Note: See TracTickets for help on using tickets.