[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
Wed Jan 29 21:37:43 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: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by desmith):
Uploaded the "this took an hour or two" version, which makes the URL
filter'able.
Very important notes:
* This is barely tested! It doesn't crash WP but that's pretty much it. In
particular, I don't have a working mirror or proxy against which to test.
* This has an implicit side effect of making all calls to
api.wordpress.org, use HTTPS (mostly because it was a lot simpler that
way, and again in very limited testing it didn't ''seem'' to break
anything).
* If you're using an alternate location for updates, we should probably do
a health check against it, similar to the existing
`get_test_dotorg_communication()`
* I intentionally left references to documentation, credits, events, and
the salt generator, pointing to .org instead of overriding them -
referring users to the "canonical" location for docs seemed appropriate, I
could be persuaded to change the salts though.
Again, it's just a starting point. I assume I've overlooked a bunch of
things.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62132#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list