mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user