Make WordPress Core

Changeset 53256


Ignore:
Timestamp:
04/25/2022 01:03:15 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in WP_User_Query Class, as per docs standards.

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-user-query.php

    r53255 r53256  
    125125
    126126    /**
    127      * Prepare the query variables.
     127     * Prepares the query variables.
    128128     *
    129129     * @since 3.1.0
     
    752752
    753753    /**
    754      * Execute the query, with the current variables.
     754     * Executes the query, with the current variables.
    755755     *
    756756     * @since 3.1.0
     
    835835
    836836    /**
    837      * Retrieve query variable.
     837     * Retrieves query variable.
    838838     *
    839839     * @since 3.5.0
     
    851851
    852852    /**
    853      * Set query variable.
     853     * Sets query variable.
    854854     *
    855855     * @since 3.5.0
     
    863863
    864864    /**
    865      * Used internally to generate an SQL string for searching across multiple columns
     865     * Used internally to generate an SQL string for searching across multiple columns.
    866866     *
    867867     * @since 3.1.0
     
    895895
    896896    /**
    897      * Return the list of users.
     897     * Returns the list of users.
    898898     *
    899899     * @since 3.1.0
     
    906906
    907907    /**
    908      * Return the total number of users for the current query.
     908     * Returns the total number of users for the current query.
    909909     *
    910910     * @since 3.1.0
     
    917917
    918918    /**
    919      * Parse and sanitize 'orderby' keys passed to the user query.
     919     * Parses and sanitizes 'orderby' keys passed to the user query.
    920920     *
    921921     * @since 4.2.0
     
    976976
    977977    /**
    978      * Parse an 'order' query variable and cast it to ASC or DESC as necessary.
     978     * Parses an 'order' query variable and casts it to ASC or DESC as necessary.
    979979     *
    980980     * @since 4.2.0
     
    996996
    997997    /**
    998      * Make private properties readable for backward compatibility.
     998     * Makes private properties readable for backward compatibility.
    999999     *
    10001000     * @since 4.0.0
     
    10101010
    10111011    /**
    1012      * Make private properties settable for backward compatibility.
     1012     * Makes private properties settable for backward compatibility.
    10131013     *
    10141014     * @since 4.0.0
     
    10251025
    10261026    /**
    1027      * Make private properties checkable for backward compatibility.
     1027     * Makes private properties checkable for backward compatibility.
    10281028     *
    10291029     * @since 4.0.0
     
    10391039
    10401040    /**
    1041      * Make private properties un-settable for backward compatibility.
     1041     * Makes private properties un-settable for backward compatibility.
    10421042     *
    10431043     * @since 4.0.0
     
    10521052
    10531053    /**
    1054      * Make private/protected methods readable for backward compatibility.
     1054     * Makes private/protected methods readable for backward compatibility.
    10551055     *
    10561056     * @since 4.0.0
Note: See TracChangeset for help on using the changeset viewer.