WordPress.org

Make WordPress Core

Changeset 23246


Ignore:
Timestamp:
01/03/2013 05:23:36 AM (7 years ago)
Author:
nacin
Message:

Don't stomp existing sizes inside wp_save_image().

props markoheijnen.
see #22985.
for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/image-edit.php

    r23106 r23246  
    693693        }
    694694
    695         $meta['sizes'] = $img->multi_resize( $_sizes );
     695        $meta['sizes'] = array_merge( $meta['sizes'], $img->multi_resize( $_sizes ) );
    696696    }
    697697
Note: See TracChangeset for help on using the changeset viewer.