diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index b3fc55a6d3..7b87c1fb7c 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -2420,15 +2420,15 @@ Thanks! * * @since 2.8.5 * - * @param bool $force + * @param bool|null $force Optional. Whether to force SSL in admin screens. Default null. * @return bool True if forced, false if not forced. */ -function force_ssl_content( $force = '' ) { +function force_ssl_content( $force = null ) { static $forced_content = false; - if ( ! $force ) { + if ( ! is_null( $force ) ) { $old_forced = $forced_content; - $forced_content = $force; + $forced_content = (bool) $force; return $old_forced; } diff --git a/wp-includes/version.php b/wp-includes/version.php index de3c5e0df8..70b954d00e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60142'; +$wp_version = '6.9-alpha-60147'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.