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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-15 20:46:09 +00:00
parent b71f614c5e
commit 0393394451
1 changed files with 0 additions and 5 deletions

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' ),