WordPress.org

Make WordPress Core

Ticket #22672: miqro-22672.patch

File miqro-22672.patch, 487 bytes (added by miqrogroove, 3 years ago)
  • wp-admin/edit-form-advanced.php

     
    7474 
    7575$notice = false; 
    7676$form_extra = ''; 
    77 if ( 'auto-draft' == get_post_status( $post ) ) { 
     77if ( 'auto-draft' == get_post_status( $post ) and 'attachment' != $post->post_type ) { 
    7878        if ( 'edit' == $action ) 
    7979                $post->post_title = ''; 
    8080        $autosave = false;