Changeset 38945 for trunk/tests/phpunit/tests/post/nav-menu.php
- Timestamp:
- 10/26/2016 05:48:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/nav-menu.php
r38940 r38945 505 505 506 506 $wpdb->query( "UPDATE $wpdb->posts SET ID=$new_id WHERE ID=$page_id" ); 507 $wpdb->query( "UPDATE $wpdb->terms SET term_id=$new_id WHERE term_id=$ page_id" );508 $wpdb->query( "UPDATE $wpdb->term_taxonomy SET term_id=$new_id WHERE term_id=$ page_id" );507 $wpdb->query( "UPDATE $wpdb->terms SET term_id=$new_id WHERE term_id=$tag_id" ); 508 $wpdb->query( "UPDATE $wpdb->term_taxonomy SET term_id=$new_id WHERE term_id=$tag_id" ); 509 509 510 510 update_option( 'page_on_front', $new_id );
Note: See TracChangeset
for help on using the changeset viewer.