Make WordPress Core


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.