WordPress.org

Make WordPress Core

Ticket #14584: 14584v3.diff

File 14584v3.diff, 479 bytes (added by ianmjones, 7 years ago)

Patch refreshed to apply cleanly on current repository layout.

  • src/wp-admin/includes/export.php

     
    133133                if ( seems_utf8( $str ) == false )
    134134                        $str = utf8_encode( $str );
    135135
    136                 // $str = ent2ncr(esc_html($str));
     136                $str = html_entity_decode( $str );
    137137                $str = '<![CDATA[' . str_replace( ']]>', ']]]]><![CDATA[>', $str ) . ']]>';
    138138
    139139                return $str;