Make WordPress Core


Ignore:
Timestamp:
05/15/2022 08:26:08 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in the WP_Network class.

See #55646.

File:
1 edited

Legend:

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

    r53083 r53397  
    8383
    8484    /**
    85      * Retrieve a network from the database by its ID.
     85     * Retrieves a network from the database by its ID.
    8686     *
    8787     * @since 4.4.0
     
    120120
    121121    /**
    122      * Create a new WP_Network object.
     122     * Creates a new WP_Network object.
    123123     *
    124124     * Will populate object properties from the object provided and assign other
     
    280280
    281281    /**
    282      * Set the site name assigned to the network if one has not been populated.
     282     * Sets the site name assigned to the network if one has not been populated.
    283283     *
    284284     * @since 4.4.0
     
    294294
    295295    /**
    296      * Set the cookie domain based on the network domain if one has
     296     * Sets the cookie domain based on the network domain if one has
    297297     * not been populated.
    298298     *
     
    313313
    314314    /**
    315      * Retrieve the closest matching network for a domain and path.
     315     * Retrieves the closest matching network for a domain and path.
    316316     *
    317317     * This will not necessarily return an exact match for a domain and path. Instead, it
     
    393393
    394394        /**
    395          * Determine a network by its domain and path.
     395         * Determines a network by its domain and path.
    396396         *
    397397         * This allows one to short-circuit the default logic, perhaps by
Note: See TracChangeset for help on using the changeset viewer.