diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 29a5f0c783..03cd1f2bcd 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -120,7 +120,7 @@ function find_core_auto_update() { * @return array|false An array of checksums on success, false on failure. */ function get_core_checksums( $version, $locale ) { - $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), null, '&' ); + $http_url = 'http://api.wordpress.org/core/checksums/1.0/?' . http_build_query( compact( 'version', 'locale' ), '', '&' ); $url = $http_url; $ssl = wp_http_supports( array( 'ssl' ) ); diff --git a/wp-includes/update.php b/wp-includes/update.php index 85d0d4c9a8..42ae3ecf3a 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -143,7 +143,7 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { $query['channel'] = WP_AUTO_UPDATE_CORE; } - $url = 'http://api.wordpress.org/core/version-check/1.7/?' . http_build_query( $query, null, '&' ); + $url = 'http://api.wordpress.org/core/version-check/1.7/?' . http_build_query( $query, '', '&' ); $http_url = $url; $ssl = wp_http_supports( array( 'ssl' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 232090f761..7fa513802b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52018'; +$wp_version = '5.9-alpha-52019'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.