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/ms-site.php

    r47932 r48104  
    241241     *
    242242     * @param int  $site_id The site ID.
    243      * @param bool $drop    True if site's table should be dropped. Default is false.
     243     * @param bool $drop    True if site's table should be dropped. Default false.
    244244     */
    245245    do_action_deprecated( 'delete_blog', array( $old_site->id, true ), '5.1.0' );
     
    283283     *
    284284     * @param int  $site_id The site ID.
    285      * @param bool $drop    True if site's tables should be dropped. Default is false.
     285     * @param bool $drop    True if site's tables should be dropped. Default false.
    286286     */
    287287    do_action_deprecated( 'deleted_blog', array( $old_site->id, true ), '5.1.0' );
     
    331331
    332332/**
    333  * Adds any sites from the given ids to the cache that do not already exist in cache.
     333 * Adds any sites from the given IDs to the cache that do not already exist in cache.
    334334 *
    335335 * @since 4.6.0
     
    451451 *     @type bool         $update_site_cache Whether to prime the cache for found sites. Default true.
    452452 * }
    453  * @return array|int List of WP_Site objects, a list of site ids when 'fields' is set to 'ids',
     453 * @return array|int List of WP_Site objects, a list of site IDs when 'fields' is set to 'ids',
    454454 *                   or the number of sites when 'count' is passed as a query var.
    455455 */
Note: See TracChangeset for help on using the changeset viewer.