Changeset 35272
- Timestamp:
- 10/19/2015 09:26:24 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets.php
r35242 r35272 468 468 // Pretend this widget is new. 469 469 delete_option( 'widget_nav_menu' ); 470 $never_used = get_option( 'widget_nav_menu' );471 $this->assert False($never_used );470 $never_used = get_option( 'widget_nav_menu', array() ); 471 $this->assertEquals( array(), (array) $never_used ); 472 472 473 473 wp_widgets_init();
Note: See TracChangeset
for help on using the changeset viewer.