| @@ -26,8 +26,9 @@ | ||
| 26 | 26 | $this->bvapi->pingbv('/bvapi/activate', $info); |
| 27 | 27 | } else { |
| 28 | 28 | WPRAccount::setup($this->settings); |
| 29 | 29 | } |
| 30 | + ##ENABLECACHE## | |
| 30 | 31 | } |
| 31 | 32 | |
| 32 | 33 | public function deactivate() { |
| 33 | 34 | $info = array(); |
| @@ -53,9 +54,9 @@ | ||
| 53 | 54 | public function footerHandler() { |
| 54 | 55 | $bvfooter = $this->settings->getOption($this->bvinfo->badgeinfo); |
| 55 | 56 | if ($bvfooter) { |
| 56 | 57 | echo '<div style="max-width:150px;min-height:70px;margin:0 auto;text-align:center;position:relative;"> |
| 57 | - <a href='.esc_url($bvfooter['badgeurl']).' target="_blank" ><img src="'.esc_url(plugins_url($bvfooter['badgeimg'], __FILE__)).'" alt="'.esc_attr($bvfooter['badgealt']).'" /></a></div>'; | |
| 58 | + <a href='.$bvfooter['badgeurl'].' target="_blank" ><img src="'.plugins_url($bvfooter['badgeimg'], __FILE__).'" alt="'.$bvfooter['badgealt'].'" /></a></div>'; | |
| 58 | 59 | } |
| 59 | 60 | } |
| 60 | 61 | } |
| 61 | 62 | endif; |