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

    r48100 r48104  
    10041004 * @see https://www.php.net/manual/en/function.http-build-query.php
    10051005 *
    1006  * @param array|object  $data       An array or object of data. Converted to array.
    1007  * @param string        $prefix     Optional. Numeric index. If set, start parameter numbering with it.
    1008  *                                  Default null.
    1009  * @param string        $sep        Optional. Argument separator; defaults to 'arg_separator.output'.
    1010  *                                  Default null.
    1011  * @param string        $key        Optional. Used to prefix key name. Default empty.
    1012  * @param bool          $urlencode  Optional. Whether to use urlencode() in the result. Default true.
    1013  *
     1006 * @param array|object $data      An array or object of data. Converted to array.
     1007 * @param string       $prefix    Optional. Numeric index. If set, start parameter numbering with it.
     1008 *                                Default null.
     1009 * @param string       $sep       Optional. Argument separator; defaults to 'arg_separator.output'.
     1010 *                                Default null.
     1011 * @param string       $key       Optional. Used to prefix key name. Default empty.
     1012 * @param bool         $urlencode Optional. Whether to use urlencode() in the result. Default true.
    10141013 * @return string The query string.
    10151014 */
     
    40194018 * @deprecated 5.3.0 This function is no longer needed as support for PHP 5.2-5.3
    40204019 *                   has been dropped.
    4021  * @access     private
     4020 * @access private
    40224021 *
    40234022 * @param mixed $data Native representation.
     
    44124411 * @since 3.0.0
    44134412 *
    4414  * @param array|string $list List of ids.
     4413 * @param array|string $list List of IDs.
    44154414 * @return int[] Sanitized array of IDs.
    44164415 */
     
    69566955
    69576956/**
    6958  * Get unique ID.
     6957 * Gets unique ID.
    69596958 *
    69606959 * This is a PHP implementation of Underscore's uniqueId method. A static variable
     
    69766975
    69776976/**
    6978  * Get last changed date for the specified cache group.
     6977 * Gets last changed date for the specified cache group.
    69796978 *
    69806979 * @since 4.7.0
    69816980 *
    69826981 * @param string $group Where the cache contents are grouped.
    6983  *
    69846982 * @return string UNIX timestamp with microseconds representing when the group was last changed.
    69856983 */
Note: See TracChangeset for help on using the changeset viewer.