diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index c41fd2458b..9af88a6ea2 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -1239,7 +1239,7 @@ if ( ! function_exists( 'wp_redirect' ) ) : */ $x_redirect_by = apply_filters( 'x_redirect_by', 'WordPress', $status, $location ); if ( is_string( $x_redirect_by ) ) { - header( sprintf( "X-Redirect-By: %s", $x_redirect_by ) ); + header( "X-Redirect-By: $x_redirect_by" ); } header( "Location: $location", true, $status );