Make WordPress Core

Changeset 52305


Ignore:
Timestamp:
12/02/2021 05:39:57 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in some get_edit_term_link() test DocBlocks.

Follow-up to [52180], [52255].

See #50225, #53399.

Location:
trunk/tests/phpunit/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/link/editTermLink.php

    r52180 r52305  
    3232     * @ticket 50225
    3333     *
    34      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     34     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    3535     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    3636     * @param string $expected Expected URL within admin of edit link.
     
    5353     * @ticket 50225
    5454     *
    55      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     55     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    5656     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    5757     */
     
    6969     * @ticket 50225
    7070     *
    71      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     71     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    7272     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    7373     */
     
    9393     * @ticket 50225
    9494     *
    95      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     95     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    9696     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    9797     */
     
    166166     * @since 5.9.0
    167167     *
    168      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     168     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    169169     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    170170     * @return WP_Term|int If $use_id is true, term ID is returned; else instance of WP_Term.
  • trunk/tests/phpunit/tests/link/getEditTermLink.php

    r52180 r52305  
    3232     * @ticket 50225
    3333     *
    34      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     34     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    3535     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    3636     * @param string $expected Expected URL within admin of edit link.
     
    5353     * @ticket 50225
    5454     *
    55      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     55     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    5656     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    5757     */
     
    6969     * @ticket 50225
    7070     *
    71      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     71     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    7272     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    7373     */
     
    9393     * @ticket 50225
    9494     *
    95      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     95     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    9696     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    9797     */
     
    166166     * @since 5.9.0
    167167     *
    168      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     168     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    169169     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    170170     * @return WP_Term|int If $use_id is true, term ID is returned; else instance of WP_Term.
  • trunk/tests/phpunit/tests/term/getTermLink.php

    r52255 r52305  
    225225     * @ticket 50225
    226226     *
    227      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     227     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    228228     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    229229     */
     
    248248     * @ticket 50225
    249249     *
    250      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     250     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    251251     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    252252     */
     
    271271     * @ticket 50225
    272272     *
    273      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     273     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    274274     * @param bool   $use_id   When true, pass term ID. Else, skip the test.
    275275     */
     
    284284            $this->assertIsString( $term_feed_link );
    285285        } else {
    286             $this->markTestSkipped( 'This test requires to pass an id to get_term_feed_link()' );
     286            $this->markTestSkipped( 'This test requires to pass an ID to get_term_feed_link()' );
    287287        }
    288288    }
     
    337337     * @since 5.9.0
    338338     *
    339      * @param string $taxonomy Taxonomy been tested (used for index of term keys).
     339     * @param string $taxonomy Taxonomy being tested (used for index of term keys).
    340340     * @param bool   $use_id   When true, pass term ID. Else, pass term object.
    341341     * @return WP_Term|int If $use_id is true, term ID is returned; else instance of WP_Term.
Note: See TracChangeset for help on using the changeset viewer.