[wp-trac] [WordPress Trac] #62132: Make wordpress.org API connections for updates, plugins and themes configurable to a different location

WordPress Trac noreply at wordpress.org
Thu Feb 13 21:20:31 UTC 2025


#62132: Make wordpress.org API connections for updates, plugins and themes
configurable to a different location
-----------------------------+------------------------------
 Reporter:  jamesking56      |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by desmith):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Updated patch forthcoming.

 * For the http/https thing, went with adding a flag to select whether we
 should return http or https in this case. It's not especially elegant, and
 by design it only works if you're still using the default hostname - my
 assumption is that anyone doing a new implementation would do it https-
 only. (Absolutely open to suggestions on better ways to handle this.)
 * Changed the function name, the constant name, and the new env var, to
 use "update_api" because it seems to be the least-inaccurate option.
 * The health check doesn't yet work, in my testbed it's returning a 500,
 will keep hacking on it, but I wanted to get ''something'' out there.

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


More information about the wp-trac mailing list