Tabbed editor fixes from skeltoac. #2829

git-svn-id: https://develop.svn.wordpress.org/trunk@4210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-09-22 22:24:50 +00:00
parent 58a933b906
commit f81191d1a4
4 changed files with 20 additions and 15 deletions

View File

@@ -1963,16 +1963,6 @@ function wp_import_handle_upload() {
return array('file' => $file, 'id' => $id);
}
function user_can_richedit() {
if ( 'true' != get_user_option('rich_editing') )
return false;
if ( preg_match('!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT']) )
return false;
return true; // Best guess
}
function the_attachment_links($id = false) {
$id = (int) $id;
$post = & get_post($id);