[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 Oct 2 20:12: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:  reopened
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Upgrade/Install           |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by desmith):

 I've made a few more little refinements. Notably, I actually ''removed''
 the health check for "using an alternate API endpoint" because it was
 misleading - using an alternate update API is not in and of itself an
 error, and the message displayed implies that it's something that needs to
 be fixed. (The actual alternate API endpoint of course is still shown in
 the Info tab.)

 I'm still blocked at the same place I was months ago, which is that I have
 no idea why the alternate API health check is failing.

 The actual error I'm getting makes no sense:

 {{{
 Uncaught Error: Call to undefined function wp_get_update_api_base() in
 /wordpress-versions/6.8.3/wp-admin/includes/class-wp-site-health.php:1374
 Stack trace:
 #0 /wordpress-versions/6.8.3/wp-includes/rest-api/endpoints/class-wp-rest-
 site-health-controller.php(256):
 WP_Site_Health->get_test_alt_update_api_communication()
 #1 /wordpress-versions/6.8.3/wp-includes/rest-api/class-wp-rest-
 server.php(1292):
 WP_REST_Site_Health_Controller->test_alt_update_api_communication(Object(WP_REST_Request))
 }}}
 (and so on, if you need the rest of the stack trace lmk)

 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.

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


More information about the wp-trac mailing list