' . $_REQUEST['content2']; break; case 'quote': $content = '
' . $_REQUEST['content']; if ($_REQUEST['content2']) { $content = $content . '
'; $content = $content . '

' . $_REQUEST['content2']; } break; case 'photo': if ($_REQUEST['photo_link']) $content = ''; $content .= ''; if ($_REQUEST['photo_link']) $content .= ''; if ($_REQUEST['content']) $content = $content . "
" . $_REQUEST['content']; break; case "video": list($garbage,$video_id) = split("v=", $_REQUEST['content']); $content = ""; if ($_REQUEST['content2']) $content = $content ."

" .$_REQUEST['content2'] ."

"; break; } $quick['post_content'] = $content; $post_ID = wp_insert_post($quick, true); if ( is_wp_error($post_ID) ) wp_die($wp_error); return $post_ID; } function tag_input() { $s = '

' . __('Tags') . '


' . __('Comma separated (e.g. Wordpress, Plugins)') . '
'; return $s; } ?> > <?php _e('Quick Post') ?>

     

   Cancel  

(optional)') ?>

     


(optional)') ?>