WordPress.org

Make WordPress Core

Ticket #11889: 11889.4.diff

File 11889.4.diff, 524 bytes (added by rovo89, 8 years ago)
  • wp-admin/includes/meta-boxes.php

     
    103103 <a href="#post_status" class="cancel-post-status hide-if-no-js"><?php _e('Cancel'); ?></a>
    104104</div>
    105105
     106<?php } else if ( 'auto-draft' == $post->post_status ) { ?>
     107<input type="hidden" name="post_status" id="post_status" value="draft" />
    106108<?php } ?>
    107109</div><?php // /misc-pub-section ?>
    108110