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%

Related posts:
  1. Case Study: File URL and Post URL buttons are there but does not work. Hi, I am able to view the File URL and...
  2. Case Study: The bullets and Number not working for a particular browser   Case Study: The bullets and Number not working for a...
  3. Case Study: CFormsII – Not able to locate CFormsII admin menu Hello All, If any one not able to locate CFormsII...
  4. How To Detect Visitors Web Browser Details Within Wordpress Blog Hi, Many wordpress theme is not supported perfectly in many...
  5. Fixed Social Buttons Wordpress Plugin Hi, This plugin is used to add fixed social buttons...

Leave a Reply

You must be logged in to post a comment.