WordPress.org

Make WordPress Core

Changeset 28375


Ignore:
Timestamp:
05/13/14 04:12:02 (3 years ago)
Author:
DrewAPicture
Message:

Fix incomplete inline documentation for the wp_header_image_attachment_metadata filter.

See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r28294 r28375  
    11161116 
    11171117    /** 
    1118      * Insert an attachment & its metadata. 
     1118     * Insert an attachment and its metadata. 
    11191119     * 
    11201120     * @param array $object Attachment object. 
     
    11271127        $metadata = wp_generate_attachment_metadata( $attachment_id, $cropped ); 
    11281128        /** 
    1129          * Allows us to insert custom meta data for an attachment. 
     1129         * Filter the header image attachment metadata. 
    11301130         * 
     1131         * @since 3.9.0 
     1132         * 
     1133         * @see wp_generate_attachment_metadata() 
     1134         * 
     1135         * @param array $metadata Attachment metadata. 
    11311136         */ 
    11321137        $metadata = apply_filters( 'wp_header_image_attachment_metadata', $metadata ); 
Note: See TracChangeset for help on using the changeset viewer.