diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 34c4c342f5..3852daf0bd 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -475,4 +475,17 @@ function extract_from_markers($filename, $marker) { return $result; } +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 ' +
'; +endif; +} + ?> \ No newline at end of file diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2912094d8c..24e2d1d965 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -94,12 +94,7 @@ window.onload = focusit;