Merge similar error strings.

props pavelevap.
fixes #32327.

git-svn-id: https://develop.svn.wordpress.org/trunk@32471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2015-05-09 18:26:37 +00:00
parent e7d9eda799
commit ff4f261101
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ class AtomParser {
if($this->debug) $this->content .= $data;
if(!xml_parse($parser, $data, feof($fp))) {
trigger_error(sprintf(__('XML error: %s at line %d')."\n",
/* translators: 1: error message, 2: line number */
trigger_error(sprintf(__('XML Error: %1$s at line %2$s')."\n",
xml_error_string(xml_get_error_code($parser)),
xml_get_current_line_number($parser)));
$ret = false;