Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15703 closed defect (bug) (fixed)

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

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @kapeels
14 years ago

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

@kapeels
14 years ago

#2 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1

#3 @kapeels
14 years ago

  • Keywords has-patch 2nd-opinion added

#4 @nacin
14 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.