Plugin Directory

Changeset 1375198


Ignore:
Timestamp:
03/20/2016 10:44:59 PM (10 years ago)
Author:
mystat
Message:

Fix alert

Location:
wp-mystat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-mystat/tags/3.5/driver/wordpress.class.php

    r1375082 r1375198  
    820820      $alert = @file_get_contents($this->getCacheDir().'alert.dat');
    821821      if(trim($alert)!=''){
    822         $alert = strip_tags($alert,'<br/><b><i><a><div><p><img><span><strong><em><table><td><th><tr><h1><h2><h3><h4><button>');
     822        $alert = strip_tags(base64_decode($alert),'<br/><b><i><a><div><p><img><span><strong><em><table><td><th><tr><h1><h2><h3><h4><button>');
    823823        echo '<div class="notice notice-info is-dismissible">';
    824824        echo '<p>'.$alert.'</p>';
  • wp-mystat/trunk/driver/wordpress.class.php

    r1375082 r1375198  
    820820      $alert = @file_get_contents($this->getCacheDir().'alert.dat');
    821821      if(trim($alert)!=''){
    822         $alert = strip_tags($alert,'<br/><b><i><a><div><p><img><span><strong><em><table><td><th><tr><h1><h2><h3><h4><button>');
     822        $alert = strip_tags(base64_decode($alert),'<br/><b><i><a><div><p><img><span><strong><em><table><td><th><tr><h1><h2><h3><h4><button>');
    823823        echo '<div class="notice notice-info is-dismissible">';
    824824        echo '<p>'.$alert.'</p>';
Note: See TracChangeset for help on using the changeset viewer.