X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..61343b82c4f0da4c68e4c6373daafff4a81efdd1:/wp-includes/atomlib.php diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php index e75ca394..4dcddc99 100644 --- a/wp-includes/atomlib.php +++ b/wp-includes/atomlib.php @@ -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; } @@ -350,5 +350,3 @@ class AtomParser { $string ); } } - -?>