Use correct variable. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25800 git-svn-id: http://core.svn.wordpress.org/trunk@25712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
95831a8a67
commit
9507d22243
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '3.7-beta2-25795';
|
||||
$wp_version = '3.7-beta2-25800';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue