Hi,
Problem Description:
The Quicktag buttons in the wordpress admin Write interface do not display when using Safari browser.
Possible Solutions:
In Safari the Quicktag buttons will function but not as intended. This is due to a bug in Safari not WordPress. Since the WordPress developers have no way of correcting this, they have chosen to disable the Quicktag buttons for Safari users. At this point in time, there are a few choices to make. One could use Firefox, or comment lines 581 and 589 in /wp-admin/admin-functions.php or find this:
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 ‘
<div id=”quicktags”>
<a href=”http://wordpress.org/docs/reference/post/#quicktags” title=”‘
. __(‘Help with quicktags’) . ‘”>’ . __(‘Quicktags’) . ‘</a>:
<script src=”quicktags.js” type=”text/javascript”></script>
<script type=”text/javascript”>edToolbar();</script>
‘;
echo ‘</div>’;
endif;
}
Replace with:
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 ‘
<div id=”quicktags”>
<a href=”http://wordpress.org/docs/reference/post/#quicktags” title=”‘
. __(‘Help with quicktags’) . ‘”>’ . __(‘Quicktags’) . ‘</a>:
<script src=”quicktags.js” type=”text/javascript”></script>
<script type=”text/javascript”>edToolbar();</script>
‘;
echo ‘</div>’;
//endif;
}
Thanks,
Shane G.
Popularity: 1%








