Make WordPress Core

Changeset 42982


Ignore:
Timestamp:
04/16/2018 10:13:38 AM (6 years ago)
Author:
azaozz
Message:

Fix typo (missing !).

See #43491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r42981 r42982  
    309309
    310310        // Privacy Policy page
    311         if ( class_exists( 'WP_Privacy_Policy_Content' ) ) {
     311        if ( ! class_exists( 'WP_Privacy_Policy_Content' ) ) {
    312312            include_once( ABSPATH . 'wp-admin/includes/misc.php' );
    313313        }
    314314
    315315        $privacy_policy_content = WP_Privacy_Policy_Content::get_default_content();
    316 
    317316        $privacy_policy_guid = get_option( 'home' ) . '/?page_id=3';
     317
    318318        $wpdb->insert(
    319319            $wpdb->posts, array(
Note: See TracChangeset for help on using the changeset viewer.