[wp-trac] [WordPress Trac] #56221: Add download URL to plugins REST create (install) endpoint

WordPress Trac noreply at wordpress.org
Tue Sep 17 23:59:29 UTC 2024


#56221: Add download URL to plugins REST create (install) endpoint
-------------------------------------+-------------------------------------
 Reporter:  brianhenryie             |       Owner:  TimothyBlynJacobs
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  Future Release
Component:  Plugins                  |     Version:  5.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-unit-  |     Focuses:  administration, rest-
  tests has-patch dev-feedback       |  api
-------------------------------------+-------------------------------------

Comment (by TimothyBlynJacobs):

 I'd love to get this in for 6.7 if you have some time to work on a refresh
 @brianhenryie.

 I think we want to allow installing from a URL if it is a
 downloads.wordpress.org URL. Otherwise, we should accept a zip upload.

 My thinking here, is that it more closely matches what we actually do in
 WP-Admin. We don't allow for users to download a plugin from an arbitrary
 URL, but instead they can upload a zip. This also gives a better chance
 for hosts or others to do a security check on the uploaded zip.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56221#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list