summaryrefslogtreecommitdiffstats
path: root/wp-includes
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes')
-rw-r--r--wp-includes/locale.php2
-rw-r--r--wp-includes/vars.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/locale.php b/wp-includes/locale.php
index 11903fc..0c8ec8b 100644
--- a/wp-includes/locale.php
+++ b/wp-includes/locale.php
@@ -12,7 +12,7 @@ class WP_Locale {
var $meridiem;
- var $text_direction = '';
+ var $text_direction = 'ltr';
var $locale_vars = array('text_direction');
function init() {
diff --git a/wp-includes/vars.php b/wp-includes/vars.php
index 7292f6d..0f749be 100644
--- a/wp-includes/vars.php
+++ b/wp-includes/vars.php
@@ -19,7 +19,7 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false) {
$is_lynx = true;
} elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') !== false) {
$is_gecko = true;
-} elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Win')) {
+} elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Win') !== false) {
$is_winIE = true;
} elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Mac') !== false) {
$is_macIE = true;