Make WordPress Core


Ignore:
Timestamp:
12/10/2006 10:26:40 PM (18 years ago)
Author:
markjaquith
Message:

Enable quicktags for Safari. Props mattyrob. fixes #3051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/admin-functions.php

    r4384 r4640  
    11221122
    11231123function the_quicktags() {
    1124     // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP
    1125     if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari'))
    11261124        echo '
    11271125        <div id="quicktags">
     
    11301128        </div>
    11311129';
    1132     else echo '
     1130    echo '
    11331131<script type="text/javascript">
    11341132function edInsertContent(myField, myValue) {
Note: See TracChangeset for help on using the changeset viewer.