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:
Ryan Boren 2009-03-11 23:37:33 +00:00
parent 642871fbfa
commit 6882d8299f
1 changed files with 1 additions and 1 deletions

View File

@ -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();