diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index c014004c05..206d406539 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -213,7 +213,7 @@ class WP_Http { * and pick its name using the basename of the $url. */ if ( $r['stream'] && empty( $r['filename'] ) ) { - $r['filename'] = wp_unique_filename( get_temp_dir(), basename( $url ) ); + $r['filename'] = get_temp_dir() . wp_unique_filename( get_temp_dir(), basename( $url ) ); } /* diff --git a/wp-includes/version.php b/wp-includes/version.php index 8297dc545c..e3a0247f95 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32711'; +$wp_version = '4.3-alpha-32712'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.