Add core_version_check_locale filter. Props nbachiyski. see #8729
git-svn-id: https://develop.svn.wordpress.org/trunk@10772 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
642871fbfa
commit
6882d8299f
|
@ -30,7 +30,7 @@ function wp_version_check() {
|
||||||
if ( ! is_object($current) )
|
if ( ! is_object($current) )
|
||||||
$current = new stdClass;
|
$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
|
// Update last_checked for current to prevent multiple blocking requests if request hangs
|
||||||
$current->last_checked = time();
|
$current->last_checked = time();
|
||||||
|
|
Loading…
Reference in New Issue