From 213bb4eb2aaa4f4154305fb7c10c07bdc7b7263d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 7 May 2013 16:37:21 +0000 Subject: [PATCH] Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110. git-svn-id: http://core.svn.wordpress.org/trunk@24190 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/atomlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/atomlib.php b/wp-includes/atomlib.php index c6f2f24750..4dcddc99cb 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; }