Eternal upgrade nag message with network and localized blogs
|Reported by:||nkuttler||Owned by:|
I always get the "WordPress 3.0.1 is available! Please update now." nag message, when I dismiss it it comes back after some time.
To quote nacin from IRC:
In wp_version_check() we're asking for the locale via get_locale(), which in turn on some of your blogs is de_DE. So if that blog gets wp_version_check() triggered, then your transient will be showing the de_DE 3.0.1, which you're not running. If is_multisite() we should rely on get_site_option('WP_LANG') and WP_LANG, and we should ignore the individual blog settings. I'm actually not sure the best way to patch it.
I have attached a minimal patch but don't understand in full detail what's going on. The problem might be in the filter or somewhere else. The patch fixes the recurring nag messages.