Make WordPress Core


Ignore:
Timestamp:
05/24/2011 03:57:28 PM (13 years ago)
Author:
ryan
Message:

Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.

Location:
branches/3.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1

  • branches/3.1/wp-includes/default-filters.php

    r18018 r18023  
    256256add_action( 'wp_scheduled_delete',        'wp_scheduled_delete'            );
    257257add_action( 'admin_init',                 'send_frame_options_header', 10, 0 );
     258add_action( 'importer_scheduled_cleanup', 'wp_delete_attachment'           );
    258259
    259260// Navigation menu actions
Note: See TracChangeset for help on using the changeset viewer.