WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/18/2014 12:35:25 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Correct 'wp_get_attachment_image_attributes' filter docs.

props tillkruess.
fixes #29701.

File:
1 edited

Legend:

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

    r29729 r29750  
    720720         * @since 2.8.0
    721721         *
    722          * @param mixed $attr          Attributes for the image markup.
    723          * @param int   $attachment_id Image attachment ID.
     722         * @param mixed $attr       Attributes for the image markup.
     723         * @param int   $attachment Image attachment post.
    724724         */
    725725        $attr = apply_filters( 'wp_get_attachment_image_attributes', $attr, $attachment );
Note: See TracChangeset for help on using the changeset viewer.