- Timestamp:
- 07/08/2019 12:55:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/nav-menu-item-setting.php
r43571 r45607 387 387 $db_ids = wp_list_pluck( $menu_items, 'db_id' ); 388 388 $this->assertContains( $item_id, $db_ids ); 389 $i = array_search( $item_id, $db_ids );389 $i = array_search( $item_id, $db_ids, true ); 390 390 $updated_item = $menu_items[ $i ]; 391 391 $post_value['post_status'] = $post_value['status']; … … 677 677 $db_ids = wp_list_pluck( $menu_items, 'db_id' ); 678 678 $this->assertContains( $item_id, $db_ids ); 679 $i = array_search( $item_id, $db_ids );679 $i = array_search( $item_id, $db_ids, true ); 680 680 $updated_item = $menu_items[ $i ]; 681 681 $post_value['post_status'] = $post_value['status'];
Note: See TracChangeset
for help on using the changeset viewer.