X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/baca9ce86a38dc54c4574890ee2d352fd81f78b2..61343b82c4f0da4c68e4c6373daafff4a81efdd1:/wp-includes/atomlib.php?ds=sidebyside diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php index c6f2f247..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; }