Pinking shears

git-svn-id: https://develop.svn.wordpress.org/trunk@25880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2013-10-23 14:37:54 +00:00
parent b10ef05fb1
commit 30f822b8ee
31 changed files with 124 additions and 124 deletions

View File

@@ -24,7 +24,7 @@ if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_themes'
function list_core_update( $update ) {
global $wp_local_package, $wpdb, $wp_version;
static $first_pass = true;
if ( 'en_US' == $update->locale && 'en_US' == get_locale() )
$version_string = $update->current;
// If the only available update is a partial builds, it doesn't need a language-specific version string.
@@ -32,7 +32,7 @@ function list_core_update( $update ) {
$version_string = $update->current;
else
$version_string = sprintf( "%s&ndash;<strong>%s</strong>", $update->current, $update->locale );
$current = false;
if ( !isset($update->response) || 'latest' == $update->response )
$current = true;