From 261b9c73b02b1ff6f5a4dca97c309c3c19b5507d Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 3 Sep 2006 19:35:37 +0000 Subject: [PATCH] Enable quicktags for safari. Props mattyrob. fixes #3051 git-svn-id: http://svn.automattic.com/wordpress/trunk@4164 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 '