From bb4dff10f665665eb4e68003c6268665cdfe56cb Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 16 Apr 2018 10:13:38 +0000 Subject: [PATCH] Fix typo (missing `!`). See #43491. git-svn-id: https://develop.svn.wordpress.org/trunk@42982 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 7e1add25b8..6e21b0d4de 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -308,13 +308,13 @@ As a new WordPress user, you should go to your dashboard to d ); // Privacy Policy page - if ( class_exists( 'WP_Privacy_Policy_Content' ) ) { + if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) { include_once( ABSPATH . 'wp-admin/includes/misc.php' ); } $privacy_policy_content = WP_Privacy_Policy_Content::get_default_content(); - $privacy_policy_guid = get_option( 'home' ) . '/?page_id=3'; + $wpdb->insert( $wpdb->posts, array( 'post_author' => $user_id,