Explorar o código

more fix on getping

causefx %!s(int64=8) %!d(string=hai) anos
pai
achega
2223b3b564
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>';
 	}
 }