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:
nacin 2011-12-20 22:06:34 +00:00
parent 97c1b24db9
commit d56fe066da

View File

@ -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 = '') {