Changeset 31307 for trunk/tests/phpunit/tests/taxonomy.php
- Timestamp:
- 01/30/2015 07:17:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r30209 r31307 164 164 165 165 /** 166 * @ticket 26948 167 */ 168 public function test_register_taxonomy_show_in_quick_edit_should_default_to_value_of_show_ui() { 169 register_taxonomy( 'wptests_tax_1', 'post', array( 170 'show_ui' => true, 171 ) ); 172 173 register_taxonomy( 'wptests_tax_2', 'post', array( 174 'show_ui' => false, 175 ) ); 176 177 $tax_1 = get_taxonomy( 'wptests_tax_1' ); 178 $this->assertTrue( $tax_1->show_in_quick_edit ); 179 180 $tax_2 = get_taxonomy( 'wptests_tax_2' ); 181 $this->assertFalse( $tax_2->show_in_quick_edit ); 182 } 183 184 /** 166 185 * @ticket 11058 167 186 */
Note: See TracChangeset
for help on using the changeset viewer.