mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48104 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1003,14 +1003,13 @@ function build_query( $data ) {
|
||||
*
|
||||
* @see https://www.php.net/manual/en/function.http-build-query.php
|
||||
*
|
||||
* @param array|object $data An array or object of data. Converted to array.
|
||||
* @param string $prefix Optional. Numeric index. If set, start parameter numbering with it.
|
||||
* Default null.
|
||||
* @param string $sep Optional. Argument separator; defaults to 'arg_separator.output'.
|
||||
* Default null.
|
||||
* @param string $key Optional. Used to prefix key name. Default empty.
|
||||
* @param bool $urlencode Optional. Whether to use urlencode() in the result. Default true.
|
||||
*
|
||||
* @param array|object $data An array or object of data. Converted to array.
|
||||
* @param string $prefix Optional. Numeric index. If set, start parameter numbering with it.
|
||||
* Default null.
|
||||
* @param string $sep Optional. Argument separator; defaults to 'arg_separator.output'.
|
||||
* Default null.
|
||||
* @param string $key Optional. Used to prefix key name. Default empty.
|
||||
* @param bool $urlencode Optional. Whether to use urlencode() in the result. Default true.
|
||||
* @return string The query string.
|
||||
*/
|
||||
function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urlencode = true ) {
|
||||
@@ -4018,7 +4017,7 @@ function _wp_json_convert_string( $string ) {
|
||||
* @since 4.4.0
|
||||
* @deprecated 5.3.0 This function is no longer needed as support for PHP 5.2-5.3
|
||||
* has been dropped.
|
||||
* @access private
|
||||
* @access private
|
||||
*
|
||||
* @param mixed $data Native representation.
|
||||
* @return bool|int|float|null|string|array Data ready for `json_encode()`.
|
||||
@@ -4411,7 +4410,7 @@ function wp_parse_list( $list ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param array|string $list List of ids.
|
||||
* @param array|string $list List of IDs.
|
||||
* @return int[] Sanitized array of IDs.
|
||||
*/
|
||||
function wp_parse_id_list( $list ) {
|
||||
@@ -6955,7 +6954,7 @@ function wp_is_uuid( $uuid, $version = null ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get unique ID.
|
||||
* Gets unique ID.
|
||||
*
|
||||
* This is a PHP implementation of Underscore's uniqueId method. A static variable
|
||||
* contains an integer that is incremented with each call. This number is returned
|
||||
@@ -6975,12 +6974,11 @@ function wp_unique_id( $prefix = '' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get last changed date for the specified cache group.
|
||||
* Gets last changed date for the specified cache group.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param string $group Where the cache contents are grouped.
|
||||
*
|
||||
* @return string UNIX timestamp with microseconds representing when the group was last changed.
|
||||
*/
|
||||
function wp_cache_get_last_changed( $group ) {
|
||||
|
||||
Reference in New Issue
Block a user