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:
ryan 2009-03-11 23:37:33 +00:00
parent 53cb41fc3c
commit 8b11ce3acb
1 changed files with 1 additions and 1 deletions

View File

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