[wp-trac] [WordPress Trac] #14552: Eternal upgrade nag message with network and localized blogs
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 6 13:41:22 UTC 2010
#14552: Eternal upgrade nag message with network and localized blogs
--------------------------+-------------------------------------------------
Reporter: nkuttler | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version:
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14552>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list