From 746f97e67552f596e1f435f6bbb949bc365db4b9 Mon Sep 17 00:00:00 2001 From: Mohammad Jangda Date: Mon, 30 Dec 2013 16:16:33 +0000 Subject: [PATCH] Revert "Bail if we don't find a matching code" This reverts commit d2d9b06dcb9acfff1401a1e600fbad7c3df03370. Ended up causing issues on some VIP sites and the original problem this was tackling ended up being a different problem altogether. --- ad-code-manager.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/ad-code-manager.php b/ad-code-manager.php index d3c2124..0ce80c3 100644 --- a/ad-code-manager.php +++ b/ad-code-manager.php @@ -848,9 +848,6 @@ function action_acm_tag( $tag_id, $echo = true ) { $code_to_display = $this->get_matching_ad_code( $tag_id ); - if ( empty( $code_to_display ) ) - return; - // Run $url aganist a whitelist to make sure it's a safe URL if ( !$this->validate_script_url( $code_to_display['url'] ) ) return;