Change require to include so the files are only parsed if the statement is evaluated true.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
acf8c1c2cc
commit
442e09db17
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
if ( defined('WPLANG') && '' != constant('WPLANG') ) {
|
||||
require_once(ABSPATH . 'wp-includes/streams.php');
|
||||
require_once(ABSPATH . 'wp-includes/gettext.php');
|
||||
include_once(ABSPATH . 'wp-includes/streams.php');
|
||||
include_once(ABSPATH . 'wp-includes/gettext.php');
|
||||
}
|
||||
|
||||
function get_locale() {
|
||||
|
|
Loading…
Reference in New Issue