From 14b83f44f157f5c9a420dc3a8845e271049d988b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 15 Oct 2013 22:06:08 +0000 Subject: [PATCH] Use correct variable. see #22704. git-svn-id: https://develop.svn.wordpress.org/trunk@25800 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 2 +- src/wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 32266bb70f..a74abd20bb 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -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 ); } } diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 3e3059c95d..5d1e384062 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -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.