[wp-trac] [WordPress Trac] #16156: update-core is oblivious to api.wp.org being unreachable
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 4 06:46:20 UTC 2011
#16156: update-core is oblivious to api.wp.org being unreachable
-------------------------------------------------+-------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Upgrade/Install | Release
Severity: normal | Version:
Keywords: has-patch needs-testing dev- | Resolution:
feedback 3.2-early |
-------------------------------------------------+-------------------------
Comment (by dd32):
> Currently, there is no way to force an update check
For core, every time wp_version_check() is called, an update request is
made. Whilst the update-core.php page does just print the current
date/time, it does so because an update was literally just made. Plugins
and Themes are a different matter.
What I'm thinking is replacing the current update paragraph with something
which has a icon (green/red) with a label of the current status, for
example:
* GREEN: You're up to date, The last update check occured at <time>
(__check again__)
* RED: The last successful update was over 24hours ago (2:34pm 1/2/2011),
This means that WordPress is encountering an error whilst performing the
update check, The error being reported is <HTTP Error Message>. Please see
this __Codex page__ to learn how to correct this. (__try again__)
I thought it'd be best to keep it green if an error occurred under 24hrs,
It could be a network fault or server fault somewhere, if it's a continued
issue however, switch to error condition mode and get the user to read
the codex suggesting potential causes and what to remedy it with..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16156#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list