Changeset 38883 for trunk/src/wp-includes/rss.php
- Timestamp:
- 10/24/2016 04:44:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rss.php
r37985 r38883 61 61 function __construct( $source ) { 62 62 63 # if PHP xml isn't compiled in, die63 # Check if PHP xml isn't compiled 64 64 # 65 if ( !function_exists('xml_parser_create') ) 66 trigger_error( "Failed to load PHP's XML Extension. https://secure.php.net/manual/en/ref.xml.php" ); 67 68 $parser = @xml_parser_create(); 69 70 if ( !is_resource($parser) ) 71 trigger_error( "Failed to create an instance of PHP's XML parser. https://secure.php.net/manual/en/ref.xml.php"); 65 if ( ! function_exists('xml_parser_create') ) { 66 return trigger_error( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ); 67 } 68 69 $parser = xml_parser_create(); 72 70 73 71 $this->parser = $parser;
Note: See TracChangeset
for help on using the changeset viewer.