WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

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

Download all attachments as: .zip

Change History (5)

comment:1 @kapeels5 years ago

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

@kapeels5 years ago

comment:2 @nacin5 years ago

  • Milestone changed from Awaiting Review to 3.1

comment:3 @kapeels5 years ago

  • Keywords has-patch 2nd-opinion added

comment:4 @nacin5 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.