From c7940de3b3c06b0ccf404e1eb6ef6ca989e91d5b Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 28 Aug 2005 17:35:06 +0000 Subject: [PATCH] Parse git-svn-id: http://svn.automattic.com/wordpress/trunk@2816 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rss-functions.php | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php index ccf741cb1..07ccc408b 100644 --- a/wp-includes/rss-functions.php +++ b/wp-includes/rss-functions.php @@ -39,20 +39,13 @@ class MagpieRSS { # if PHP xml isn't compiled in, die # - if (!function_exists('xml_parser_create')) { - die( "Failed to load PHP's XML Extension. " . - "http://www.php.net/manual/en/ref.xml.php", - E_USER_ERROR ); - } + if ( !function_exists('xml_parser_create') ) + die( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); $parser = @xml_parser_create(); - if (!is_resource($parser)) - { - die( "Failed to create an instance of PHP's XML parser. " . - "http://www.php.net/manual/en/ref.xml.php", - E_USER_ERROR ); - } + if ( !is_resource($parser) ) + die( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); $this->parser = $parser;