Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wp-includes/pluggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ function check_ajax_referer( $action = -1, $query_arg = false, $stop = true ) {
*
* @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|false $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'.
* @return bool False if the redirect was canceled, true otherwise.
*/
function wp_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
Expand Down Expand Up @@ -1426,7 +1426,7 @@ function wp_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
*
* @since 5.1.0
*
* @param string $x_redirect_by The application doing the redirect.
* @param string|false $x_redirect_by The application doing the redirect. False to not set the header
* @param int $status Status code to use.
* @param string $location The path to redirect to.
*/
Expand Down