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…
Reference in New Issue