Tabbed editor fixes from skeltoac. #2829

git-svn-id: http://svn.automattic.com/wordpress/trunk@4210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-09-22 22:24:50 +00:00
parent 6e9539c22c
commit a855814939
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);