Make WordPress Core

Changeset 10772


Ignore:
Timestamp:
03/11/2009 11:37:33 PM (16 years ago)
Author:
ryan
Message:

Add core_version_check_locale filter. Props nbachiyski. see #8729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/update.php

    r10583 r10772  
    3131        $current = new stdClass;
    3232
    33     $locale = get_locale();
     33    $locale = apply_filters( 'core_version_check_locale', get_locale() );
    3434
    3535    // Update last_checked for current to prevent multiple blocking requests if request hangs
Note: See TracChangeset for help on using the changeset viewer.