Skip to content

Commit

Permalink
Comment on why vvv .dev domains are out
Browse files Browse the repository at this point in the history
  • Loading branch information
George Stephanis committed Jun 22, 2015
1 parent 8bfdf37 commit 89833ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions class.jetpack-data.php
Expand Up @@ -61,10 +61,10 @@ public static function is_usable_domain( $domain, $extra = array() ) {
'localhost',
'localhost.localdomain',
'127.0.0.1',
'local.wordpress.dev',
'local.wordpress-trunk.dev',
'src.wordpress-develop.dev',
'build.wordpress-develop.dev',
'local.wordpress.dev', // VVV
'local.wordpress-trunk.dev', // VVV
'src.wordpress-develop.dev', // VVV
'build.wordpress-develop.dev', // VVV
);
if ( in_array( $domain, $forbidden_domains ) ) {
return new WP_Error( 'fail_domain_forbidden', sprintf( __( 'Domain `%1$s` just failed is_usable_domain check as it is in the forbidden array.', 'jetpack' ), $domain ) );
Expand Down

0 comments on commit 89833ca

Please sign in to comment.