mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-24 15:45:29 +00:00
s/is/if/. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97c1b24db9
commit
d56fe066da
@ -929,7 +929,7 @@ if ( !function_exists('wp_validate_redirect') ) :
|
||||
* WordPress host string and $location host string.
|
||||
*
|
||||
* @param string $location The redirect to validate
|
||||
* @param string $default The value to return is $location is not allowed
|
||||
* @param string $default The value to return if $location is not allowed
|
||||
* @return string redirect-sanitized URL
|
||||
**/
|
||||
function wp_validate_redirect($location, $default = '') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user