There are an image linking to browsehappy.com on the admin pages
Sorry, but what is it?
I can delete it?
If yes, how >I can delete or edit it?
There are an image linking to browsehappy.com on the admin pages
Sorry, but what is it?
I can delete it?
If yes, how >I can delete or edit it?
It's a suggestion to switch your browser to something other than Internet Explorer.
You'll have to hack into the admin files to get rid of it, if that's what you want.
It'd be easier (and more secure) to switch to a different browser though. :)
That sucker's going down.
Open up wp-admin/admin-functions.php
Find these lines:
function browse_happy() {
$getit = __( 'WordPress recommends a better browser' );
echo '
<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>
';
}
if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ))
add_action( 'admin_footer', 'browse_happy' );
Delete those lines.
May the evil empire forever live!
:)
Or better still, don't delete anything. Just change the "browse_happy()" function in "wp-admin/admin-functions.php" to this:
function browse_happy() {
echo '<p id="bh" style="text-align: center;"><a href="http://www.google.com/search?&q=internet+explorer+still+sucks" title="Browse Happily Ignorant"><img src="http://www.microsoft.com/library/media/1033/windows/images/products/winfamily/ie/icon_ie7.gif" alt="Browse Happily Ignorant" /></a></p>
';
}
Less work and you still get a clickable nice image. Just don't forget to do this every time you upgrade!
Or just pop in your own firefox referral code :)
Didn't think of the firefox link. Thanks :)
Hasn't done any good but thanks anyway. ;)
for the newer version you have to edit the template.php files ... just comment the lines around 515 with the if / else command
I prefer to just remove the IE check and use it to sell it as ad space myself. Helps offset server costs, if you can find someone willing to pay for the space.
Or better yet change it to link to http://www.firefoxmyths.com and have it do a firefox check.
Where is this Browse Happy image? Is it still in 1.5.1?
yes it's only shown if you are using IE.
@ DailyTestimony,
Thanks, makes sense, going to do some edits now!
They moved the code though. I want to say it's in wp-admin/includes/templates.php but I'm not 100% sure.
actually it's admin/includes/template.php but close enough people know what you mean.