Make WordPress Core

Changeset 47101


Ignore:
Timestamp:
01/22/2020 12:23:09 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust documentation for some pre_* filters for consistency.

See #48303.

Location:
trunk/src/wp-includes
Files:
5 edited

Legend:

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

    r46586 r47101  
    408408         * @since 3.9.0
    409409         *
    410          * @param null|bool|WP_Network $network  Network value to return by path.
     410         * @param null|bool|WP_Network $network  Network value to return by path. Default null
     411         *                                       to continue retrieving the network.
    411412         * @param string               $domain   The requested domain.
    412413         * @param string               $path     The requested path, in full.
  • trunk/src/wp-includes/class-wp-oembed.php

    r47060 r47101  
    385385         * @since 4.5.3
    386386         *
    387          * @param null|string $result The UNSANITIZED (and potentially unsafe) HTML that should be used to embed. Default null.
     387         * @param null|string $result The UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
     388         *                            Default null to continue retrieving the result.
    388389         * @param string      $url    The URL to the content that should be attempted to be embedded.
    389390         * @param array       $args   Optional. Arguments, usually passed from a shortcode. Default empty.
  • trunk/src/wp-includes/ms-load.php

    r46660 r47101  
    204204     * @since 3.9.0
    205205     *
    206      * @param null|false|WP_Site $site     Site value to return by path.
     206     * @param null|false|WP_Site $site     Site value to return by path. Default null
     207     *                                     to continue retrieving the site.
    207208     * @param string             $domain   The requested domain.
    208209     * @param string             $path     The requested path, in full.
  • trunk/src/wp-includes/ms-site.php

    r46990 r47101  
    933933     * @since 5.1.0
    934934     *
    935      * @param bool|null $pre     The value to return, if not null.
     935     * @param bool|null $pre     The value to return instead. Default null
     936     *                           to continue with the check.
    936937     * @param int       $site_id The site ID that is being checked.
    937938     */
  • trunk/src/wp-includes/user.php

    r47096 r47101  
    887887     * @since 5.1.0
    888888     *
    889      * @param null|string $result   Default null.
     889     * @param null|string $result   The value to return instead. Default null to continue with the query.
    890890     * @param string      $strategy Optional. The computational strategy to use when counting the users.
    891891     *                              Accepts either 'time' or 'memory'. Default 'time'.
Note: See TracChangeset for help on using the changeset viewer.