Make WordPress Core

Ticket #59420: 59420.8.patch

File 59420.8.patch, 1.1 KB (added by viralsampat, 17 months ago)

I have checked above mentioned issue and founds few files. Here, I have added its patch.

  • src/wp-admin/includes/class-wp-privacy-policy-content.php

    diff --git src/wp-admin/includes/class-wp-privacy-policy-content.php src/wp-admin/includes/class-wp-privacy-policy-content.php
    index 9b11d09a66..7094480874 100644
    final class WP_Privacy_Policy_Content { 
    379379        public static function privacy_policy_guide() {
    380380
    381381                $content_array = self::get_suggested_policy_text();
    382                 $content       = '';
    383382                $date_format   = __( 'F j, Y' );
    384383
    385384                foreach ( $content_array as $section ) {
    386                         $class   = '';
    387                         $meta    = '';
    388385                        $removed = '';
    389386
    390387                        if ( ! empty( $section['removed'] ) ) {
  • src/wp-admin/includes/schema.php

    diff --git src/wp-admin/includes/schema.php src/wp-admin/includes/schema.php
    index 57ffe69054..9638ca4770 100644
    function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam 
    992992        }
    993993
    994994        // Check for network collision.
    995         $network_exists = false;
    996995        if ( is_multisite() ) {
    997996                if ( get_network( (int) $network_id ) ) {
    998997                        $errors->add( 'siteid_exists', __( 'The network already exists.' ) );