code standards

This commit is contained in:
Mike Jolley 2018-02-19 13:06:04 +00:00
parent 1b290eae6d
commit 48e1894258
1 changed files with 1 additions and 1 deletions

View File

@ -1993,7 +1993,7 @@ function wc_get_relative_url( $url ) {
function wc_is_external_resource( $url ) {
$wp_base = str_replace( array( 'http://', 'https://' ), '//', get_home_url( null, '/', 'http' ) );
return strstr( $url, '://' ) && !strstr( $url, $wp_base );
return strstr( $url, '://' ) && ! strstr( $url, $wp_base );
}
/**