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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-04-15 19:53:47 +00:00
parent 759f103994
commit 15cd25406d
1 changed files with 0 additions and 5 deletions

View File

@ -79,11 +79,6 @@ function twentyeleven_setup() {
*/
load_theme_textdomain( 'twentyeleven', 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 styles the visual editor with editor-style.css to match the theme style.
add_editor_style();