[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
Fri Oct 3 14:56:58 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:  reopened
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Upgrade/Install           |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by johnbillion):

 Replying to [comment:26 desmith]:
 > The function is very much defined, and in fact that same function call
 worked in the now-removed 'using an alt API' health check. I'm stumped.

 In your patch `wp_get_update_api_base()` is defined in `wp-
 admin/includes/update.php` which doesn't get loaded during REST API
 requests. The function would ideally be defined in a file that's loaded
 much earlier and in every request.

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


More information about the wp-trac mailing list