WordPress.org

Make WordPress Core

Ticket #2197: tb_cgi.diff

File tb_cgi.diff, 863 bytes (added by skeltoac, 14 years ago)

Don't print php functions.

  • wp-admin/admin-footer.php

     
    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>