mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Core Updates: Switch to using a new 1.7 version check API which will return extra auto-update packages when requested over SSL. The new API has switched to returning JSON. See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25219 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -25,6 +25,10 @@ function list_core_update( $update ) {
|
||||
global $wp_local_package, $wpdb;
|
||||
static $first_pass = true;
|
||||
|
||||
// Don't show auto-updates in the updates page
|
||||
if ( isset( $update->response ) && 'autoupdate' == $update->response )
|
||||
return;
|
||||
|
||||
$version_string = ('en_US' == $update->locale && 'en_US' == get_locale() ) ?
|
||||
$update->current : sprintf("%s–<strong>%s</strong>", $update->current, $update->locale);
|
||||
$current = false;
|
||||
|
||||
Reference in New Issue
Block a user