diff --git a/Cdn_Plugin.php b/Cdn_Plugin.php index dba6566..f8b6336 100644 --- a/Cdn_Plugin.php +++ b/Cdn_Plugin.php @@ -774,7 +774,7 @@ function w3tc_attachment_url( $url ) { static $allowed_files = null; if ( ( defined( 'WP_ADMIN' ) && $this->_config->get_boolean( 'cdn.admin.media_library' ) ) || - ( $this->can_cdn() && $this->can_cdn2( $empty ) ) ) { + ( $this->can_cdn() && $this->can_cdn2( '' ) ) ) { $url = trim( $url ); if ( !empty( $url ) ) {