Add core_version_check_locale filter. Props nbachiyski. see #8729 for 2.7

git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-03-11 23:37:45 +00:00
parent df231af292
commit dcc5b55d46

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() );
if ( if (
isset( $current->last_checked ) && isset( $current->last_checked ) &&
43200 > ( time() - $current->last_checked ) && 43200 > ( time() - $current->last_checked ) &&