mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-11 10:01:52 +01:00
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:
parent
759f103994
commit
15cd25406d
@ -79,11 +79,6 @@ function twentyeleven_setup() {
|
|||||||
*/
|
*/
|
||||||
load_theme_textdomain( 'twentyeleven', get_template_directory() . '/languages' );
|
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.
|
// This theme styles the visual editor with editor-style.css to match the theme style.
|
||||||
add_editor_style();
|
add_editor_style();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user