Twenty Ten: Remove $locale.php file support. see #20448.

git-svn-id: https://develop.svn.wordpress.org/trunk@20473 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-15 20:46:09 +00:00
parent c889d02910
commit 91bb85bcff

View File

@ -88,11 +88,6 @@ function twentyten_setup() {
// Translations can be filed in the /languages/ directory
load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' );
$locale = get_locale();
$locale_file = get_template_directory() . "/languages/$locale.php";
if ( is_readable( $locale_file ) )
require_once( $locale_file );
// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
'primary' => __( 'Primary Navigation', 'twentyten' ),