Ticket #2197: tb_cgi.diff

File tb_cgi.diff, 0.8 kB (added by skeltoac, 3 years ago)

Don't print php functions.

  • wp-admin/admin-footer.php

    old new  
    99<?php do_action('admin_footer', ''); ?> 
    1010<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script> 
    1111 
    12 <?php if ( (substr(php_sapi_name(), 0, 3) == 'cgi') && spawn_pinger() ) : ?> 
    13 <iframe id="pingcheck" src="' . get_settings('siteurl') .'/wp-admin/execute-pings.php?time=' . time() . '" style="border:none;width:1px;height:1px;"></iframe> 
    14 <?php endif; ?> 
     12<?php 
     13if ( (substr(php_sapi_name(), 0, 3) == 'cgi') && spawn_pinger() ) { 
     14        echo '<iframe id="pingcheck" src="' . get_settings('siteurl') .'/wp-admin/execute-pings.php?time=' . time() . '" style="border:none;width:1px;height:1px;"></iframe>'; 
     15
     16?> 
    1517 
    1618</body> 
    1719</html>