Make WordPress Core

Changeset 35374


Ignore:
Timestamp:
10/23/2015 01:00:11 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type and description of $post parameter passed to the attachment_fields_to_save filter.

Props swissspidy.
Fixes #34404.

File:
1 edited

Legend:

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

    r35182 r35374  
    663663         * @see wp_get_attachment_metadata()
    664664         *
    665          * @param WP_Post $post       The WP_Post object.
    666          * @param array   $attachment An array of attachment metadata.
     665         * @param array $post       An array of post data.
     666         * @param array $attachment An array of attachment metadata.
    667667         */
    668668        $post = apply_filters( 'attachment_fields_to_save', $post, $attachment );
Note: See TracChangeset for help on using the changeset viewer.