Make WordPress Core

Changeset 11747


Ignore:
Timestamp:
07/27/2009 11:08:21 PM (15 years ago)
Author:
azaozz
Message:

Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494

File:
1 edited

Legend:

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

    r11190 r11747  
    122122    }
    123123
    124     return apply_filters( 'wp_generate_attachment_metadata', $metadata );
     124    return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );
    125125}
    126126
Note: See TracChangeset for help on using the changeset viewer.