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

git-svn-id: https://develop.svn.wordpress.org/trunk@20471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-04-15 19:53:47 +00:00
parent 57105fb00c
commit c98d83ab80
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();