Popular Posts:
Feb 18th by Neil under Hints and Tips, Wordpress
Yes the annoying update/upgrade notice that appears at the top of the admin screen can be a bit annoying. It can also be quite dangerous. DANGEROUS you say…how so?
Well if you have designed a CMS for a client using wordpress and added extra things even its its simple things like changing the admin images or the memory usage. All will be wiped when the client upgrades and their precious site suddenly looks different or doesnt work at all.
Taking the top update nag isnt the only way to update via the admin panel of course buts its the most obvious one.
So lets get rid of it:
First open: wp-admin/includes/update.php
Scroll to line 135 (if file is in original condition)
Find this line:
add_action( 'admin_notices', 'update_nag', 3 );
And simply comment it out like thus:
/* add_action( 'admin_notices', 'update_nag', 3 ); */
or
// add_action( 'admin_notices', 'update_nag', 3 );
Both will work, once uploaded hey presto no more top update nag. Nag nag nag…your not my Mum Wordpress!!
Related Posts:
- Menu only logged in users or certain users can see
- Display your Wordpress posts on other pages
- Using Google Adsense for Search in Wordpress
- Using multiple/different headers, sidebars, footers and comment templates in Wordpress
- Simple:Press Forum Review – Is it the best forum for WP?
- Wordpress RSS Error – Blank Line Fix







If you want to get rid of the little update button on the dashboard then comment out line 145
And the link in the footer by commenting out line 105