[wp-trac] [WordPress Trac] #16923: "Install from URL" for themes and plugins
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 24 01:57:07 UTC 2011
#16923: "Install from URL" for themes and plugins
-----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.2
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-----------------------------+------------------
Comment (by nacin):
Replying to [comment:8 dd32]:
> Perhaps that should be made more generic, ie. not just for themes, but
plugins as well. I realise it'll work for either, but for naming
consistency it might be good to have a neutral url?
Probably. Due to the folder structure of api.wp.org, I simply chose
/themes/, with the expectation that it would simply be used for plugins as
well. We could create a new top-level structure if we feel it's
appropriate.
> If we're adding define the url via $_GET, perhaps we should pass the
referrer to malware check as well?
Sure, we can do that. I'll update it to also check against
`$_GET['referer']` if passed, that sound good? We'd need to properly relay
the referrer through wp-login.php though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16923#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list