Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: http://svn.automattic.com/wordpress/trunk@10772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53cb41fc3c
commit
8b11ce3acb
|
@ -30,7 +30,7 @@ function wp_version_check() {
|
|||
if ( ! is_object($current) )
|
||||
$current = new stdClass;
|
||||
|
||||
$locale = get_locale();
|
||||
$locale = apply_filters( 'core_version_check_locale', get_locale() );
|
||||
|
||||
// Update last_checked for current to prevent multiple blocking requests if request hangs
|
||||
$current->last_checked = time();
|
||||
|
|
Loading…
Reference in New Issue