]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/atomlib.php
WordPress 4.1.1-scripts
[autoinstalls/wordpress.git] / wp-includes / atomlib.php
index 9c2335c6612d71f39d8cb6597b5301b43b702472..9d34276a7e928c18c3081744460e4caedae87689 100644 (file)
@@ -1,13 +1,13 @@
 <?php
-/*
+/**
  * Atom Syndication Format PHP Library
  *
  * @package AtomLib
  * @link http://code.google.com/p/phpatomlib/
  *
- * @author: Elias Torres <elias@torrez.us>
- * @version: 0.4
- * @since 2.3
+ * @author Elias Torres <elias@torrez.us>
+ * @version 0.4
+ * @since 2.3.0
  */
 
 /**
@@ -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 );
     }
 }
-
-?>