Explorar el Código

more fix on getping

causefx hace 8 años
padre
commit
2223b3b564
Se han modificado 1 ficheros con 1 adiciones y 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>';
 	}
 }