From 61b45944d10eb68c8abb9ff067845a8e4efd710d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 28 May 2024 11:13:12 +0000 Subject: [PATCH] Docs: Clarify that the `$wp_error` parameter of `login_header()` is nullable. Follow-up to [7991], [25701], [28792], [43457], [58209], [58220]. See #60668, #60699. Built from https://develop.svn.wordpress.org/trunk@58224 git-svn-id: http://core.svn.wordpress.org/trunk@57687 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 1b662b4e15..3a514f437f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58223'; +$wp_version = '6.6-alpha-58224'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index ced99ea11e..16faccb703 100644 --- a/wp-login.php +++ b/wp-login.php @@ -33,10 +33,10 @@ if ( force_ssl_admin() && ! is_ssl() ) { * upon successful login. * @global string $action The action that brought the visitor to the login page. * - * @param null|string $title Optional. WordPress login Page title to display in the `` element. - * Default null, which displays 'Log In'. - * @param string $message Optional. Message to display in header. Default empty. - * @param WP_Error $wp_error Optional. The error to pass. Default is a WP_Error instance. + * @param string|null $title Optional. WordPress login page title to display in the `<title>` element. + * Defaults to 'Log In'. + * @param string $message Optional. Message to display in header. Default empty. + * @param WP_Error|null $wp_error Optional. The error to pass. Defaults to a WP_Error instance. */ function login_header( $title = null, $message = '', $wp_error = null ) { global $error, $interim_login, $action;