Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#15703 closed defect (bug) (fixed)

Undefined variable final in wp-includes/class-IXR.php

Reported by: koke Owned by: kapeels
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch 2nd-opinion
Focuses: Cc:


When WP_DEBUG is set true, media uploads over xmlrpc fail:

Notice: Undefined variable: final in /Users/koke/automattic/wordpress/wp-includes/class-IXR.php on line 225

Notice: Undefined variable: final in /Users/koke/automattic/wordpress/wp-includes/class-IXR.php on line 228
<?xml version="1.0"?>

Attachments (1)

15703.diff (741 bytes) - added by kapeels 9 years ago.

Download all attachments as: .zip

Change History (5)

#1 @kapeels
9 years ago

  • Owner set to kapeels
  • Status changed from new to assigned

9 years ago

#2 @nacin
9 years ago

  • Milestone changed from Awaiting Review to 3.1

#3 @kapeels
9 years ago

  • Keywords has-patch 2nd-opinion added

#4 @nacin
9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [16770]) Initialize a variable. props kapeels for initial patch. fixes #15703.

Note: See TracTickets for help on using tickets.