Fix the parameter description syntax in the hook docs for the wp_safe_redirect_fallback
filter, added in 4.3.
See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8dee1379bd
commit
12a932b177
@ -1278,8 +1278,8 @@ function wp_safe_redirect($location, $status = 302) {
|
||||
*
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @param string $fallback_url The fallback URL to use by default.
|
||||
* @param int $status The redirect status.
|
||||
* @param string $fallback_url The fallback URL to use by default.
|
||||
* @param int $status The redirect status.
|
||||
*/
|
||||
$location = wp_validate_redirect( $location, apply_filters( 'wp_safe_redirect_fallback', admin_url(), $status ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user