Make WordPress Core

Changeset 2816


Ignore:
Timestamp:
08/28/2005 05:35:06 PM (19 years ago)
Author:
matt
Message:

Parse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rss-functions.php

    r2810 r2816  
    4040        # if PHP xml isn't compiled in, die
    4141        #
    42         if (!function_exists('xml_parser_create')) {
    43             die( "Failed to load PHP's XML Extension. " .
    44                           "http://www.php.net/manual/en/ref.xml.php",
    45                            E_USER_ERROR );
    46         }
     42        if ( !function_exists('xml_parser_create') )
     43            die( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" );
    4744       
    4845        $parser = @xml_parser_create();
    4946       
    50         if (!is_resource($parser))
    51         {
    52             die( "Failed to create an instance of PHP's XML parser. " .
    53                           "http://www.php.net/manual/en/ref.xml.php",
    54                           E_USER_ERROR );
    55         }
     47        if ( !is_resource($parser) )
     48            die( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php");
    5649
    5750       
Note: See TracChangeset for help on using the changeset viewer.