[wp-trac] [WordPress Trac] #16923: "Install from URL" for themes and plugins

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 24 02:10:21 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 dd32):

 > Probably. Due to the folder structure of api.wp.org, I simply chose
 /themes/

 There's no harm in leaving it there really, As long as we document that it
 supports plugin and theme url's. The only other location could maybe be
 core, as that's a bit more generic for api's utilised by core (eg. the
 zoneinfo ones)

 > 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.

 Will have to look into passing it through properly without allowing it to
 be modified.. I'll attach a patch combining your above patch, and the
 malware API shortly for a quick once over for the malware implementation.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16923#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list