mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 04:04:35 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user