Changeset 29894
- Timestamp:
- 10/14/2014 07:54:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/support.php
r27220 r29894 163 163 function test_supports_menus() { 164 164 // Start fresh 165 foreach ( get_registered_nav_menus() as $location => $desc ) { 166 unregister_nav_menu( $location ); 167 } 165 168 _remove_theme_support( 'menus' ); 166 169 $this->assertFalse( current_theme_supports( 'menus' ) );
Note: See TracChangeset
for help on using the changeset viewer.