mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user