Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

See #49572.

File:
1 edited

Legend:

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

    r48100 r48104  
    43304330                }
    43314331
    4332                 // Specify the post id of the gallery we're viewing if the shortcode doesn't reference another post already.
     4332                // Specify the post ID of the gallery we're viewing if the shortcode doesn't reference another post already.
    43334333                if ( ! isset( $shortcode_attrs['id'] ) ) {
    43344334                    $shortcode[3] .= ' id="' . intval( $post->ID ) . '"';
     
    45034503
    45044504    /**
    4505      * Filters an attachment id found by URL.
     4505     * Filters an attachment ID found by URL.
    45064506     *
    45074507     * @since 4.2.0
Note: See TracChangeset for help on using the changeset viewer.