mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Taxonomy: Correct and clarify documentation for the return types of term query functions.
See #51800, #38266 git-svn-id: https://develop.svn.wordpress.org/trunk@49947 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -43,7 +43,7 @@ class Tests_Term_WpInsertTerm extends WP_UnitTestCase {
|
||||
remove_filter( 'delete_term', array( $this, 'deleted_term_cb' ), 10, 5 );
|
||||
$this->assertNull( term_exists( $term ) );
|
||||
$this->assertNull( term_exists( $t['term_id'] ) );
|
||||
$this->assertEquals( $initial_count, wp_count_terms( array( 'taxonomy' => $taxonomy ) ) );
|
||||
$this->assertSame( $initial_count, wp_count_terms( array( 'taxonomy' => $taxonomy ) ) );
|
||||
}
|
||||
|
||||
public function test_wp_insert_term_taxonomy_does_not_exist() {
|
||||
|
||||
Reference in New Issue
Block a user