Make WordPress Core

Changeset 8918


Ignore:
Timestamp:
09/17/2008 07:19:15 PM (16 years ago)
Author:
azaozz
Message:

Remove 'large' image size when deleting attachments, props ShaneF, fixes #7759

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r8824 r8918  
    23862386
    23872387    // remove intermediate images if there are any
    2388     $sizes = apply_filters('intermediate_image_sizes', array('thumbnail', 'medium'));
     2388    $sizes = apply_filters('intermediate_image_sizes', array('thumbnail', 'medium', 'large'));
    23892389    foreach ( $sizes as $size ) {
    23902390        if ( $intermediate = image_get_intermediate_size($postid, $size) ) {
Note: See TracChangeset for help on using the changeset viewer.