Remove drafts from Write page.

git-svn-id: https://develop.svn.wordpress.org/trunk@7282 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-03-14 07:07:46 +00:00
parent 62d3bef1f4
commit cb1aa603b4
2 changed files with 0 additions and 52 deletions
-3
View File
@@ -19,9 +19,6 @@ $messages[3] = __('Custom field deleted.');
<h2><?php _e('Write Post') ?></h2>
<?php
if ( !empty( $draft_div ) )
echo $draft_div;
if (!isset($post_ID) || 0 == $post_ID) {
$form_action = 'post';
$temp_ID = -1 * time(); // don't change this formula without looking at wp_write_post()