| 1 | Index: wp-includes/rss-functions.php
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- wp-includes/rss-functions.php (revision 2814)
|
|---|
| 4 | +++ wp-includes/rss-functions.php (working copy)
|
|---|
| 5 | @@ -40,7 +40,7 @@
|
|---|
| 6 | # if PHP xml isn't compiled in, die
|
|---|
| 7 | #
|
|---|
| 8 | if (!function_exists('xml_parser_create')) {
|
|---|
| 9 | - die( "Failed to load PHP's XML Extension. " .
|
|---|
| 10 | + trigger_error( "Failed to load PHP's XML Extension. " .
|
|---|
| 11 | "http://www.php.net/manual/en/ref.xml.php",
|
|---|
| 12 | E_USER_ERROR );
|
|---|
| 13 | }
|
|---|
| 14 | @@ -49,7 +49,7 @@
|
|---|
| 15 |
|
|---|
| 16 | if (!is_resource($parser))
|
|---|
| 17 | {
|
|---|
| 18 | - die( "Failed to create an instance of PHP's XML parser. " .
|
|---|
| 19 | + trigger_error( "Failed to create an instance of PHP's XML parser. " .
|
|---|
| 20 | "http://www.php.net/manual/en/ref.xml.php",
|
|---|
| 21 | E_USER_ERROR );
|
|---|
| 22 | }
|
|---|
| 23 | @@ -847,4 +847,4 @@
|
|---|
| 24 | return false;
|
|---|
| 25 | }
|
|---|
| 26 | }
|
|---|
| 27 | -?>
|
|---|
| 28 | \ No newline at end of file
|
|---|
| 29 | +?>
|
|---|