Make WordPress Core

Ticket #31873: 31873.patch

File 31873.patch, 628 bytes (added by ramiy, 9 years ago)
  • wp-admin/link-parse-opml.php

     
    7575xml_set_element_handler($xml_parser, "startElement", "endElement");
    7676
    7777if (!xml_parse($xml_parser, $opml, true)) {
    78         echo(sprintf(__('XML error: %1$s at line %2$s'),
     78        printf(__('XML error: %1$s at line %2$s'),
    7979        xml_error_string(xml_get_error_code($xml_parser)),
    80         xml_get_current_line_number($xml_parser)));
     80        xml_get_current_line_number($xml_parser));
    8181}
    8282
    8383// Free up memory used by the XML parser