Changeset 2810 for trunk/wp-includes/rss-functions.php
- Timestamp:
- 08/27/05 18:31:42 (3 years ago)
- Files:
-
- trunk/wp-includes/rss-functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/rss-functions.php
r2192 r2810 41 41 # 42 42 if (!function_exists('xml_parser_create')) { 43 $this->error( "Failed to load PHP's XML Extension. " .43 die( "Failed to load PHP's XML Extension. " . 44 44 "http://www.php.net/manual/en/ref.xml.php", 45 45 E_USER_ERROR ); … … 50 50 if (!is_resource($parser)) 51 51 { 52 $this->error( "Failed to create an instance of PHP's XML parser. " .52 die( "Failed to create an instance of PHP's XML parser. " . 53 53 "http://www.php.net/manual/en/ref.xml.php", 54 54 E_USER_ERROR ); … … 375 375 376 376 if ( !isset($url) ) { 377 error("fetch_rss called without a url");377 // error("fetch_rss called without a url"); 378 378 return false; 379 379 } … … 387 387 } 388 388 else { 389 error("Failed to fetch $url and cache is off");389 // error("Failed to fetch $url and cache is off"); 390 390 return false; 391 391 } … … 490 490 491 491 // else we totally failed 492 error( $errormsg );492 // error( $errormsg ); 493 493 494 494 return false; … … 546 546 $errormsg .= " (" . $rss->ERROR . ")"; 547 547 } 548 error($errormsg);548 // error($errormsg); 549 549 550 550 return false;
