Changeset 31986
- Timestamp:
- 04/02/2015 07:00:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/link-parse-opml.php
r29206 r31986 75 75 xml_set_element_handler($xml_parser, "startElement", "endElement"); 76 76 77 if (!xml_parse($xml_parser, $opml, true)) { 78 echo(sprintf(__('XML error: %1$s at line %2$s'), 79 xml_error_string(xml_get_error_code($xml_parser)), 80 xml_get_current_line_number($xml_parser))); 77 if ( ! xml_parse( $xml_parser, $opml, true ) ) { 78 printf( 79 /* translators: 1: error message, 2: line number */ 80 __( 'XML Error: %1$s at line %2$s' ), 81 xml_error_string( xml_get_error_code( $xml_parser ) ), 82 xml_get_current_line_number( $xml_parser ) 83 ); 81 84 } 82 85
Note: See TracChangeset
for help on using the changeset viewer.