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/class-wp-network-query.php

    r48102 r48104  
    170170     *
    171171     * @param string|array $query Array or URL query string of parameters.
    172      * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',
     172     * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids',
    173173     *                   or the number of networks when 'count' is passed as a query var.
    174174     */
     
    183183     * @since 4.6.0
    184184     *
    185      * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',
     185     * @return array|int List of WP_Network objects, a list of network IDs when 'fields' is set to 'ids',
    186186     *                   or the number of networks when 'count' is passed as a query var.
    187187     */
     
    207207         * The expected return type from this filter depends on the value passed in the request query_vars.
    208208         * When `$this->query_vars['count']` is set, the filter should return the network count as an int.
    209          * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network ids.
     209         * When `'ids' === $this->query_vars['fields']`, the filter should return an array of network IDs.
    210210         * Otherwise the filter should return an array of WP_Network objects.
    211211         *
Note: See TracChangeset for help on using the changeset viewer.