Make WordPress Core

Changeset 33018


Ignore:
Timestamp:
07/01/2015 03:46:23 AM (9 years ago)
Author:
obenland
Message:

After [32866], change filter name.

While filter names generally don't have to be tied to the function in which they
are applied, the API for media display generally seems to use the
wp_get_attachment_* pattern.

Props DrewAPicture.
Fixes #32363.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r32949 r33018  
    722722     * @param bool         $icon          Whether the image should be treated as an icon. Default false.
    723723     */
    724     return apply_filters( 'attachment_image_src', $image, $attachment_id, $size, $icon );
     724    return apply_filters( 'wp_get_attachment_image_src', $image, $attachment_id, $size, $icon );
    725725}
    726726
Note: See TracChangeset for help on using the changeset viewer.