Firefox fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4780b6f925
commit
0c3b3e5347
|
@ -5,7 +5,6 @@
|
|||
<?php printf(__('%s seconds'), number_format(timer_stop(), 2)); ?>
|
||||
</p>
|
||||
|
||||
<p><a href="http://spreadfirefox.com/community/?q=affiliates&id=2490&t=1" title="<?php _e('WordPress recommends the open-source Firefox browser') ?>"><img src="http://static.wordpress.org/get-firefox.png" alt="Get Firefox" /></a></p>
|
||||
</div>
|
||||
|
||||
<?php do_action('admin_footer', ''); ?>
|
||||
|
|
|
@ -1072,4 +1072,14 @@ function get_plugin_page_hook($plugin_page, $parent_page) {
|
|||
return '';
|
||||
}
|
||||
|
||||
?>
|
||||
function pimp_firefox() {
|
||||
if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Firefox' ) )
|
||||
return;
|
||||
$getit = __('WordPress recommends the open-source Firefox browser');
|
||||
echo '
|
||||
<p id="firefoxlink" style="text-align: center;"><a href="http://spreadfirefox.com/community/?q=affiliates&id=2490&t=1" title="' . $getit . '"><img src="../wp-images/get-firefox.png" alt="Get Firefox" /></a></p>
|
||||
';
|
||||
}
|
||||
add_action('admin_footer', 'pimp_firefox');
|
||||
|
||||
?>
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue