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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 19 06:20:01 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):

 Replying to markjaquith:
 > Need to allow the URL field to be pre-populated with a GET request, so
 they don't have to copy/paste.

 How do we want to do that?
  * Accessing the url such as: http://dd32.id.au/wp-admin/plugin-
 install.php?tab=url&package=http%3A%2F%2Fdd32.id.au%2Ftest.zip
  * Or http://dd32.id.au/?install-plugin=http%3A%2F%2Fdd32.id.au%2Ftest.zip
 (redirect to above url)

 In the case where someone provides the url via a GET parameter, do we want
 to have some form of alert on the page "Site XYZ.com has pre-filled this
 for you" (ie. Referrer set)

 > http://api.wordpress.org/themes/malware-check/1.0/ now works.

 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?

 What type of error are we going to display when it fails the malware
 check, I assume we're going to block installation through that interface..
 It might be an idea to link it to a codex page explaining it.

 If we're adding define the url via $_GET, perhaps we should pass the
 referrer to malware check as well?

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


More information about the wp-trac mailing list