Make WordPress Core


Ignore:
Timestamp:
05/22/2011 11:25:28 PM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r17814 r17999  
    645645        'post_content' => $url,
    646646        'post_mime_type' => $type,
    647         'guid' => $url);
     647        'guid' => $url,
     648        'context' => 'custom-header');
    648649
    649650        // Save the data
     
    738739            'post_content' => $url,
    739740            'post_mime_type' => 'image/jpeg',
    740             'guid' => $url
     741            'guid' => $url,
     742            'context' => 'custom-header'
    741743        );
    742744
Note: See TracChangeset for help on using the changeset viewer.