diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:57:30 +0000 |
commit | fa9a33d818470a5796f0ff8797f98b510ed8de18 (patch) | |
tree | bde6a1eede376f9b5df5898ce812330152984d8e /wp-includes/pluggable.php | |
parent | Releasing progress-linux version 6.4.3+dfsg1-1~progress7.99u1. (diff) | |
download | wordpress-fa9a33d818470a5796f0ff8797f98b510ed8de18.tar.xz wordpress-fa9a33d818470a5796f0ff8797f98b510ed8de18.zip |
Merging upstream version 6.5+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/pluggable.php')
-rw-r--r-- | wp-includes/pluggable.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 7cff577..03bae13 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1377,9 +1377,9 @@ if ( ! function_exists( 'wp_redirect' ) ) : * * @global bool $is_IIS * - * @param string $location The path or URL to redirect to. - * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily). - * @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'. + * @param string $location The path or URL to redirect to. + * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily). + * @param string|false $x_redirect_by Optional. The application doing the redirect or false to omit. Default 'WordPress'. * @return bool False if the redirect was canceled, true otherwise. */ function wp_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) { @@ -1426,9 +1426,9 @@ if ( ! function_exists( 'wp_redirect' ) ) : * * @since 5.1.0 * - * @param string $x_redirect_by The application doing the redirect. - * @param int $status Status code to use. - * @param string $location The path to redirect to. + * @param string|false $x_redirect_by The application doing the redirect or false to omit the header. + * @param int $status Status code to use. + * @param string $location The path to redirect to. */ $x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location ); if ( is_string( $x_redirect_by ) ) { @@ -1520,9 +1520,9 @@ if ( ! function_exists( 'wp_safe_redirect' ) ) : * @since 2.3.0 * @since 5.1.0 The return value from wp_redirect() is now passed on, and the `$x_redirect_by` parameter was added. * - * @param string $location The path or URL to redirect to. - * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily). - * @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'. + * @param string $location The path or URL to redirect to. + * @param int $status Optional. HTTP response status code to use. Default '302' (Moved Temporarily). + * @param string|false $x_redirect_by Optional. The application doing the redirect or false to omit. Default 'WordPress'. * @return bool False if the redirect was canceled, true otherwise. */ function wp_safe_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) { @@ -2528,7 +2528,7 @@ if ( ! function_exists( 'wp_hash_password' ) ) : * * @since 2.5.0 * - * @global PasswordHash $wp_hasher PHPass object + * @global PasswordHash $wp_hasher PHPass object. * * @param string $password Plain text user password to hash. * @return string The hash string of the password. |