[wp-trac] [WordPress Trac] #16156: update-core is oblivious to api.wp.org being unreachable
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 10 06:34:09 UTC 2011
#16156: update-core is oblivious to api.wp.org being unreachable
-----------------------------+------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by solarissmoke):
I thought I would give this a crack.
Here's a patch - it allows us to pass error information from
wp_version_check() to the user.
Regarding "last checked for updates" - this is a bit pointless, because
visiting wp-admin/update-core.php triggers wp_version_check(), meaning WP
will check for updates every time you load the page. Similarly, offering
to "check again" immediately after we've just checked seems pointless. So
I've removed it altogether. Only time it offers to try again is if there
was an error.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16156#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list