Make WordPress Core

Changeset 49140


Ignore:
Timestamp:
10/14/2020 12:25:43 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct the message in a sitemaps test for getting a URL list for a custom taxonomy that is not publicly queryable.

Follow-up to [48474].

See #51344, #50607.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php

    r48937 r49140  
    164164        unregister_taxonomy_for_object_type( $taxonomy, 'post' );
    165165
    166         $this->assertEmpty( $post_list, 'Private taxonomy term links are visible.' );
     166        $this->assertEmpty( $post_list, 'Non-publicly queryable taxonomy term links are visible.' );
    167167    }
    168168
Note: See TracChangeset for help on using the changeset viewer.