Skip to content
Browse files

Do not do CDN rewrites for staging

  • Loading branch information...
1 parent f4b824b commit cc2ec86165cdb780a2055d89522a1c9608c17975 @markjaquith committed Jun 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 WordPress-Dropins/wp-stack-cdn.php
View
2 WordPress-Dropins/wp-stack-cdn.php
@@ -24,7 +24,7 @@ public function __construct() {
}
public function plugins_loaded() {
- if ( get_option( 'wp_stack_cdn_domain' ) || ( defined( 'WP_STACK_CDN_DOMAIN' ) && WP_STACK_CDN_DOMAIN ) )
+ if ( ( get_option( 'wp_stack_cdn_domain' ) || ( defined( 'WP_STACK_CDN_DOMAIN' ) && WP_STACK_CDN_DOMAIN ) ) && ( !defined( 'WP_STAGE' ) || WP_STAGE !== 'staging' ) )
$this->hook( 'init' );
}

0 comments on commit cc2ec86

Please sign in to comment.
Something went wrong with that request. Please try again.