WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 3 months ago

#39836 new enhancement

Display maximum file upload size on theme upload page

Reported by: rinkuyadav999 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords: dev-feedback has-patch
Focuses: administration Cc:

Description

When we click on 'Upload Theme' button, WordPress displays "If you have a theme in a .zip format, you may install it by uploading it here." message on /wp-admin/theme-install.php

If we can displays maximum file size in this message, it will really help WordPress users. They will consider increasing upload file size in php.ini instead starting upload and displaying a message "Are you sure want to do that?" and if debug is true, they will also see error message.

Attachments (3)

screenshot.png (19.0 KB) - added by rinkuyadav999 7 months ago.
Screenshot
39836#.patch (916 bytes) - added by rinkuyadav999 7 months ago.
Core side changes
39836-new#.patch (907 bytes) - added by rinkuyadav999 7 months ago.
It is better.

Download all attachments as: .zip

Change History (6)

@rinkuyadav999
7 months ago

Screenshot

@rinkuyadav999
7 months ago

Core side changes

@rinkuyadav999
7 months ago

It is better.

#2 @rinkuyadav999
3 months ago

  • Keywords dev-feedback added
  • Version 4.8 deleted

#3 @rinkuyadav999
3 months ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.