WordPress.org

Make WordPress Core

Ticket #4254: 4254-axe-browsehappy.diff

File 4254-axe-browsehappy.diff, 659 bytes (added by Speedboxer, 11 years ago)

Axe Browse Happy from WordPress

  • template.php

     
    495495        }
    496496}
    497497
    498 function browse_happy() {
    499         $getit = __( 'WordPress recommends a better browser' );
    500         echo '
    501                 <p id="bh" style="text-align: center;"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p>
    502                 ';
    503 }
    504 
    505 if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)
    506         add_action( 'admin_footer', 'browse_happy' );
    507 
    508498function the_attachment_links( $id = false ) {
    509499        $id = (int) $id;
    510500        $post = & get_post( $id );