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:
parent
57105fb00c
commit
c98d83ab80
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user