Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1631 closed defect (bug) (fixed)

rss-functions.php error typo

Reported by: noderat Owned by: markjaquith
Priority: high Milestone:
Component: Administration Version: 1.6
Severity: major Keywords: rss magpie bg|has-patch bg|commit
Cc: Focuses:

Description

Revision 2810 has a typo, replace die() with trigger_error() to stop the php error message on access of dashboard.

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 );

should be:

if (!function_exists('xml_parser_create')) {
			trigger_error( "Failed to load PHP's XML Extension. " . 
 						  "http://www.php.net/manual/en/ref.xml.php",
 						   E_USER_ERROR );

as well as the second occurance directly below that snippet.

Attachments (1)

triggererrorpatch.txt (868 bytes ) - added by noderat 21 years ago.
Patch to fix problem.

Download all attachments as: .zip

Change History (5)

@noderat
21 years ago

Patch to fix problem.

#1 @markjaquith
21 years ago

  • Keywords bg|has-patch bg|commit added
  • Owner changed from anonymous to markjaquith
  • Priority highesthigh
  • Severity criticalmajor
  • Status newassigned

#2 @markjaquith
21 years ago

  • Milestone1.6

#3 @matt
21 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [3083]) Don't die on me now! Fixes #1631

#4 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.