mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Canonical: Add $x_redirect_by parameter to wp_safe_redirect().
See [42633] and [42408]. Fixes #42313. git-svn-id: https://develop.svn.wordpress.org/trunk@42647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -183,7 +183,8 @@ class Tests_Pluggable extends WP_UnitTestCase {
|
||||
'_wp_sanitize_utf8_in_redirect' => array( 'matches' ),
|
||||
'wp_safe_redirect' => array(
|
||||
'location',
|
||||
'status' => 302,
|
||||
'status' => 302,
|
||||
'x_redirect_by' => 'WordPress',
|
||||
),
|
||||
'wp_validate_redirect' => array(
|
||||
'location',
|
||||
|
||||
Reference in New Issue
Block a user