Ticket #9805: 9805.2.diff
File 9805.2.diff, 1.6 KB (added by , 12 years ago) |
---|
-
wp-admin/import/blogware.php
29 29 echo '</div>'; 30 30 } 31 31 32 function unhtmlentities($string) { // From php.net for < 4.3 compat 32 function unhtmlentities($string) { 33 $string = wp_kses_decode_entities($string); 34 33 35 $trans_tbl = get_html_translation_table(HTML_ENTITIES); 34 36 $trans_tbl = array_flip($trans_tbl); 37 35 38 return strtr($string, $trans_tbl); 36 39 } 37 40 -
wp-admin/import/rss.php
30 30 echo '</div>'; 31 31 } 32 32 33 function unhtmlentities($string) { // From php.net for < 4.3 compat 33 function unhtmlentities($string) { 34 $string = wp_kses_decode_entities($string); 35 34 36 $trans_tbl = get_html_translation_table(HTML_ENTITIES); 35 37 $trans_tbl = array_flip($trans_tbl); 38 36 39 return strtr($string, $trans_tbl); 37 40 } 38 41 -
wp-admin/import/wordpress.php
42 42 echo '</div>'; 43 43 } 44 44 45 function unhtmlentities($string) { // From php.net for < 4.3 compat 45 function unhtmlentities($string) { 46 $string = wp_kses_decode_entities($string); 47 46 48 $trans_tbl = get_html_translation_table(HTML_ENTITIES); 47 49 $trans_tbl = array_flip($trans_tbl); 50 48 51 return strtr($string, $trans_tbl); 49 52 } 50 53