Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

_s: Do not load $locale.php fixes #1213

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9482 d957f892-c61d-0410-b221-f235e6eecf30
  • Loading branch information...
commit 2a0b4e7bf8eab78b6d03b60eec19ea1dbd3780c1 1 parent bd4719e
Michael Fields authored April 23, 2012 ianstewart committed April 24, 2012

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  functions.php
5  functions.php
@@ -54,11 +54,6 @@ function _s_setup() {
54 54
 	 */
55 55
 	load_theme_textdomain( '_s', get_template_directory() . '/languages' );
56 56
 
57  
-	$locale = get_locale();
58  
-	$locale_file = get_template_directory() . "/languages/$locale.php";
59  
-	if ( is_readable( $locale_file ) )
60  
-		require_once( $locale_file );
61  
-
62 57
 	/**
63 58
 	 * Add default posts and comments RSS feed links to head
64 59
 	 */

0 notes on commit 2a0b4e7

Please sign in to comment.
Something went wrong with that request. Please try again.