Make WordPress Core


Ignore:
Timestamp:
10/06/2020 08:57:38 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize descriptions of some query functions and their counterpart methods in WP and WP_Query classes:

  • set_query_var()
  • get_query_var()
  • get_queried_object()
  • get_queried_object_id()

Switch to third-person singular verbs, per the documentation standards.

See #50768, #42783.

File:
1 edited

Legend:

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

    r48590 r49095  
    8484
    8585    /**
    86      * Add name to list of public query variables.
     86     * Adds a query variable to the list of public query variables.
    8787     *
    8888     * @since 2.1.0
     
    108108
    109109    /**
    110      * Set the value of a query variable.
     110     * Sets the value of a query variable.
    111111     *
    112112     * @since 2.3.0
     
    120120
    121121    /**
    122      * Parse request to find correct WordPress query.
     122     * Parses the request to find the correct WordPress query.
    123123     *
    124124     * Sets up the query variables based on the request. There are also many
Note: See TracChangeset for help on using the changeset viewer.