From c4c416ce62b16302fc7d7c871327ae0e7c775c08 Mon Sep 17 00:00:00 2001 From: rob1n Date: Tue, 10 Apr 2007 04:28:40 +0000 Subject: [PATCH] empty() only takes variables. Props filosofo. fixes #4118 git-svn-id: https://develop.svn.wordpress.org/trunk@5224 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/tinymce/tiny_mce_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php index b1e18380ed..5c2c1c8dfc 100644 --- a/wp-includes/js/tinymce/tiny_mce_config.php +++ b/wp-includes/js/tinymce/tiny_mce_config.php @@ -49,7 +49,7 @@ $mce_popups_css = str_replace('http://', 'https://', $mce_popups_css); } - $mce_locale = ( empty(get_locale()) ) ? 'en' : strtolower(get_locale()); + $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower(get_locale()); ?> initArray = {