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/bookmark.php

    r47808 r48104  
    117117 *     @type int      $limit          Amount of bookmarks to display. Accepts any positive number or
    118118 *                                    -1 for all.  Default -1.
    119  *     @type string   $category       Comma-separated list of category ids to include links from.
     119 *     @type string   $category       Comma-separated list of category IDs to include links from.
    120120 *                                    Default empty.
    121121 *     @type string   $category_name  Category to retrieve links for by name. Default empty.
     
    322322
    323323/**
    324  * Sanitizes all bookmark fields
     324 * Sanitizes all bookmark fields.
    325325 *
    326326 * @since 2.3.0
    327327 *
    328  * @param stdClass|array $bookmark Bookmark row
    329  * @param string $context Optional, default is 'display'. How to filter the
    330  *      fields
     328 * @param stdClass|array $bookmark Bookmark row.
     329 * @param string         $context  Optional. How to filter the fields. Default 'display'.
    331330 * @return stdClass|array Same type as $bookmark but with fields sanitized.
    332331 */
Note: See TracChangeset for help on using the changeset viewer.