forked from mirror/_s
_s: Do not load $locale.php fixes #1213
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9482 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
parent
bd4719e73f
commit
2a0b4e7bf8
|
@ -54,11 +54,6 @@ function _s_setup() {
|
||||||
*/
|
*/
|
||||||
load_theme_textdomain( '_s', get_template_directory() . '/languages' );
|
load_theme_textdomain( '_s', get_template_directory() . '/languages' );
|
||||||
|
|
||||||
$locale = get_locale();
|
|
||||||
$locale_file = get_template_directory() . "/languages/$locale.php";
|
|
||||||
if ( is_readable( $locale_file ) )
|
|
||||||
require_once( $locale_file );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add default posts and comments RSS feed links to head
|
* Add default posts and comments RSS feed links to head
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue