Make WordPress Core


Ignore:
Timestamp:
09/22/2006 10:24:50 PM (20 years ago)
Author:
ryan
Message:

Tabbed editor fixes from skeltoac. #2829

File:
1 edited

Legend:

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

    r4206 r4210  
    19641964}
    19651965
    1966 function user_can_richedit() {
    1967     if ( 'true' != get_user_option('rich_editing') )
    1968         return false;
    1969 
    1970     if ( preg_match('!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT']) )
    1971         return false;
    1972 
    1973     return true; // Best guess
    1974 }
    1975 
    19761966function the_attachment_links($id = false) {
    19771967    $id = (int) $id;
Note: See TracChangeset for help on using the changeset viewer.