Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:01:35 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve the documented types for various functions and hooks.

See #55646

File:
1 edited

Legend:

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

    r53818 r53877  
    12141214         * @since 5.1.0
    12151215         *
    1216          * @param null|string $result   The value to return instead. Default null to continue with the query.
    1217          * @param string      $strategy Optional. The computational strategy to use when counting the users.
    1218          *                              Accepts either 'time' or 'memory'. Default 'time'.
    1219          * @param int|null    $site_id  Optional. The site ID to count users for. Defaults to the current site.
     1216         * @param null|array $result   The value to return instead. Default null to continue with the query.
     1217         * @param string     $strategy Optional. The computational strategy to use when counting the users.
     1218         *                             Accepts either 'time' or 'memory'. Default 'time'.
     1219         * @param int        $site_id  The site ID to count users for.
    12201220         */
    12211221        $pre = apply_filters( 'pre_count_users', null, $strategy, $site_id );
     
    37443744 * @access private
    37453745 *
    3746  * @return array List of core privacy action types.
     3746 * @return string[] List of core privacy action types.
    37473747 */
    37483748function _wp_privacy_action_request_types() {
     
    37583758 * @since 4.9.6
    37593759 *
    3760  * @param array $exporters An array of personal data exporters.
    3761  * @return array An array of personal data exporters.
     3760 * @param array[] $exporters An array of personal data exporters.
     3761 * @return array[] An array of personal data exporters.
    37623762 */
    37633763function wp_register_user_personal_data_exporter( $exporters ) {
Note: See TracChangeset for help on using the changeset viewer.