diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 32266bb70f..a74abd20bb 100644 --- a/wp-admin/includes/update-core.php +++ b/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/wp-includes/version.php b/wp-includes/version.php index 583c21cf53..9c0d392f72 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.