Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:46:22 PM (14 months ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Follow-up to [56174], [56175], [56176], [56177], [56178], [56179], [56180], [56191].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56160 r56192  
    66156615    $post_id = (int) $post_id;
    66166616
    6617     // This uses image_downsize() which also looks for the (very) old format $image_meta['thumb']
    6618     // when the newer format $image_meta['sizes']['thumbnail'] doesn't exist.
     6617    /*
     6618     * This uses image_downsize() which also looks for the (very) old format $image_meta['thumb']
     6619     * when the newer format $image_meta['sizes']['thumbnail'] doesn't exist.
     6620     */
    66196621    $thumbnail_url = wp_get_attachment_image_url( $post_id, 'thumbnail' );
    66206622
Note: See TracChangeset for help on using the changeset viewer.