From b6753171051a7046f5079cd711983ddf7aab4899 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 3 Sep 2006 19:35:37 +0000 Subject: [PATCH] Enable quicktags for safari. Props mattyrob. fixes #3051 git-svn-id: https://develop.svn.wordpress.org/trunk@4164 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 527fbb631c..5912cf2ff0 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -1250,8 +1250,6 @@ function save_mod_rewrite_rules() { } function the_quicktags() { - // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP - if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) { echo '
'; @@ -1259,7 +1257,7 @@ function the_quicktags() { echo '
'; - } else echo ' + echo '