Make WordPress Core


Ignore:
Timestamp:
12/12/2021 02:51:34 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

Follow-up to [48104].

See #53399.

File:
1 edited

Legend:

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

    r52332 r52357  
    223223 *
    224224 * @param string $file          Full path to the image file.
    225  * @param int    $attachment_id Attachment Id to process.
     225 * @param int    $attachment_id Attachment ID to process.
    226226 * @return array The image attachment meta data.
    227227 */
     
    381381 * @param string $file          Full path to the image file.
    382382 * @param array  $image_meta    The attachment meta data array.
    383  * @param int    $attachment_id Attachment Id to process.
     383 * @param int    $attachment_id Attachment ID to process.
    384384 * @return array The attachment meta data with updated `sizes` array. Includes an array of errors encountered while resizing.
    385385 */
     
    471471 * @since 2.1.0
    472472 *
    473  * @param int    $attachment_id Attachment Id to process.
    474  * @param string $file          Filepath of the Attached image.
     473 * @param int    $attachment_id Attachment ID to process.
     474 * @param string $file          Filepath of the attached image.
    475475 * @return array Metadata for attachment.
    476476 */
Note: See TracChangeset for help on using the changeset viewer.