Make WordPress Core

Ticket #59297: 59297.patch

File 59297.patch, 1.0 KB (added by upadalavipul, 9 months ago)

patch added

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

     
    383383        public static function privacy_policy_guide() {
    384384
    385385                $content_array = self::get_suggested_policy_text();
    386                 $content       = '';
    387386                $date_format   = __( 'F j, Y' );
    388387
    389388                foreach ( $content_array as $section ) {
    390                         $class   = '';
    391                         $meta    = '';
    392389                        $removed = '';
    393390
    394391                        if ( ! empty( $section['removed'] ) ) {
  • wp-admin/includes/post.php

     
    24642464        $classic_output = ob_get_clean();
    24652465
    24662466        $classic_elements = wp_html_split( $classic_output );
    2467         $hidden_inputs    = '';
    24682467        foreach ( $classic_elements as $element ) {
    24692468                if ( ! str_starts_with( $element, '<input ' ) ) {
    24702469                        continue;