Changeset 36108 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 12/27/2015 04:40:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r35333 r36108 518 518 $this->assertFalse( is_tax( 'wptests_tax' ) ); 519 519 } 520 521 /** 522 * @ticket 35089 523 */ 524 public function test_query_var_should_be_forced_to_false_for_non_public_taxonomy() { 525 register_taxonomy( 'wptests_tax', 'post', array( 526 'public' => false, 527 'query_var' => true, 528 ) ); 529 530 $tax = get_taxonomy( 'wptests_tax' ); 531 $this->assertFalse( $tax->query_var ); 532 } 520 533 }
Note: See TracChangeset
for help on using the changeset viewer.