From 0393394451f1b7b82eda24a57cabc698664310b3 Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 15 Apr 2012 20:46:09 +0000 Subject: [PATCH] Twenty Ten: Remove $locale.php file support. see #20448. git-svn-id: http://svn.automattic.com/wordpress/trunk@20473 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index c619bf080..914d57ade 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -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' ),