Răsfoiți Sursa

more fix on getping

causefx 8 ani în urmă
părinte
comite
2223b3b564
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -4754,7 +4754,7 @@ function getPing($url, $style, $refresh = null){
 			$class .= " animated flash loop-animation-timeout";
 		}
 	}
-	if (strpos($style, '<') === false && strpos($style, '>') === false) {
+	if (strpos($style, '<') === false && strpos($style, '>') === false && strpos($style, 'script') === false) {
 		echo '<span class="pingcheck badge ping-'.$class.'" style="position: absolute;z-index: 100;right: 5px; padding: 0px 0px;'.$style.';font-size: 10px;">&nbsp;</span>';
 	}
 }