WordPress.org

Make WordPress Core

Changeset 12211


Ignore:
Timestamp:
11/18/2009 10:09:00 PM (9 years ago)
Author:
markjaquith
Message:

Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167

File:
1 edited

Legend:

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

    r12134 r12211  
    3838        $html = '';
    3939    }
    40     return apply_filters( 'post_image_html', $html, $post_id, $post_image_id );
     40    return apply_filters( 'post_image_html', $html, $post_id, $post_image_id, $size, $attr );
    4141}
    4242
Note: See TracChangeset for help on using the changeset viewer.