Tests: Fix some query typos introduced in [38940].
Props piewp for the catch. See #35272. git-svn-id: https://develop.svn.wordpress.org/trunk@38945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
85eb52669d
commit
17477665c1
@ -504,8 +504,8 @@ class Test_Nav_Menus extends WP_UnitTestCase {
|
||||
$tag_id = self::factory()->tag->create();
|
||||
|
||||
$wpdb->query( "UPDATE $wpdb->posts SET ID=$new_id WHERE ID=$page_id" );
|
||||
$wpdb->query( "UPDATE $wpdb->terms SET term_id=$new_id WHERE term_id=$page_id" );
|
||||
$wpdb->query( "UPDATE $wpdb->term_taxonomy SET term_id=$new_id WHERE term_id=$page_id" );
|
||||
$wpdb->query( "UPDATE $wpdb->terms SET term_id=$new_id WHERE term_id=$tag_id" );
|
||||
$wpdb->query( "UPDATE $wpdb->term_taxonomy SET term_id=$new_id WHERE term_id=$tag_id" );
|
||||
|
||||
update_option( 'page_on_front', $new_id );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user