[wp-trac] [WordPress Trac] #14999: Reject invalid theme.zip uploads
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 1 12:58:16 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
-----------------------------+----------------------------------------------
Comment(by hakre):
There is no such "standard WP folder structure for themes". The only thing
that can be checked for are the checks that are done to iterate over
installed themes and filtering out invalid ones.
I dunno if it's possible to do that decision in reverse to find out if a
theme is valid or not. Must be the up-most sub-directory within the themes
directory then. Maybe some code needs to be restructured for that and then
it's possible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14999#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list