WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/27/2012 02:02:32 AM (9 years ago)
Author:
nacin
Message:

No AYS or autosave for attachments on post.php. Reverts part of [22725]. fixes #22491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post-new.php

    r22777 r22858  
    4747    wp_schedule_event( time(), 'daily', 'wp_scheduled_auto_draft_delete' );
    4848
    49 if ( 'attachment' !== $post_type )
    50     wp_enqueue_script('autosave');
     49wp_enqueue_script( 'autosave' );
    5150
    5251// Show post form.
Note: See TracChangeset for help on using the changeset viewer.