[wp-trac] [WordPress Trac] #14999: Reject invalid theme.zip uploads
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 30 19:14:53 UTC 2010
#14999: Reject invalid theme.zip uploads
-----------------------------+----------------------------------------------
Reporter: jstrebel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Keywords: theme upload
-----------------------------+----------------------------------------------
When a user uploads (/wp-admin/theme-install.php) a theme.zip file from
their desktop that may have an invalid folder structure WP accepts the
upload. The theme does not appear in the /wp-admin/themes.php list of
available themes so the user assumes it was not taken and they try the
upload again and are met with a cryptic "Folder already exists" message.
Perhaps WP could validate the internal file/folder structure of the
theme.zip and reject the upload with a clearer message such as: "This
theme does not comply with the standard WP folder structure for themes.
Please see this topic <link to topic> that explains the proper standard.
Note: Please alert the theme author to modify their theme.zip download to
comply"
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14999>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list