Wordpress 3.6
[autoinstalls/wordpress.git] / wp-includes / atomlib.php
index c6f2f24750d74ad578c58ca373dc7318f3e99e37..4dcddc99cb52ce4655e7d984e878e79a2fc79d5e 100644 (file)
@@ -131,8 +131,8 @@ class AtomParser {
 
             if(!xml_parse($parser, $data, feof($fp))) {
                 trigger_error(sprintf(__('XML error: %s at line %d')."\n",
-                    xml_error_string(xml_get_error_code($xml_parser)),
-                    xml_get_current_line_number($xml_parser)));
+                    xml_error_string(xml_get_error_code($parser)),
+                    xml_get_current_line_number($parser)));
                 $ret = false;
                 break;
             }