Use correct variable. see #22704.

git-svn-id: https://develop.svn.wordpress.org/trunk@25800 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-10-15 22:06:08 +00:00
parent 3b724d5082
commit 14b83f44f1
2 changed files with 2 additions and 2 deletions

View File

@ -725,7 +725,7 @@ function update_core($from, $to) {
$error_data = version_compare( $old_wp_version, '3.7-beta2', '>' ) ? array_keys( $files_not_writable ) : '';
if ( $files_not_writable )
return new WP_Error( 'files_not_writable', __( 'Could not copy file.' ), $data );
return new WP_Error( 'files_not_writable', __( 'Could not copy file.' ), $error_data );
}
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '3.7-beta2-25795-src';
$wp_version = '3.7-beta2-25800-src';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.