WordPress.org

Make WordPress Core

Changeset 4164


Ignore:
Timestamp:
09/03/06 19:35:37 (8 years ago)
Author:
ryan
Message:

Enable quicktags for safari. Props mattyrob. fixes #3051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4144 r4164  
    12511251 
    12521252function the_quicktags() { 
    1253     // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP 
    1254     if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) { 
    12551253        echo ' 
    12561254        <div id="quicktags"> 
     
    12601258        </div> 
    12611259'; 
    1262     } else echo ' 
     1260    echo ' 
    12631261<script type="text/javascript"> 
    12641262function edInsertContent(myField, myValue) { 
Note: See TracChangeset for help on using the changeset viewer.