Make WordPress Core

Changeset 24190


Ignore:
Timestamp:
05/07/2013 04:37:21 PM (11 years ago)
Author:
nacin
Message:

Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/atomlib.php

    r19712 r24190  
    132132            if(!xml_parse($parser, $data, feof($fp))) {
    133133                trigger_error(sprintf(__('XML error: %s at line %d')."\n",
    134                     xml_error_string(xml_get_error_code($xml_parser)),
    135                     xml_get_current_line_number($xml_parser)));
     134                    xml_error_string(xml_get_error_code($parser)),
     135                    xml_get_current_line_number($parser)));
    136136                $ret = false;
    137137                break;
Note: See TracChangeset for help on using the changeset viewer.