Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
Remove uninitialized variable, fixes #470
Browse files Browse the repository at this point in the history
  • Loading branch information
nigrosimone committed May 20, 2017
1 parent dcbd574 commit 74a4802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cdn_Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit 74a4802

Please sign in to comment.