[wp-trac] Re: [WordPress Trac] #8729: "WordPress 2.7 is available!
Please update now." Displayed in WordPress 2.7 Dashboard.
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 13 10:00:45 GMT 2009
#8729: "WordPress 2.7 is available! Please update now." Displayed in WordPress 2.7
Dashboard.
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: nbachiyski
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 2.7.2
Component: i18n | Version: 2.7
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Comment(by nbachiyski):
The multi-language plugins need to be able to control what locale is used
for version checks. Here is a patch, which adds a filter for it.
miqrogroove, could you try the patch and something along this line in your
multilanguage plugin:
{{{
add_filter( 'core_version_check_locale', create_function( '$_', 'return
"en_US";' ) );
}}}
That should do the trick.
In order to force an update, delete the {{{update_core}}} option or see
#9108.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8729#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list