Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#8916 closed enhancement (fixed)

enhance debugging output in class-IXR.php

Reported by: wnorris Owned by: josephscott
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords: has-patch
Focuses: Cc:


this patch will add the classes 'ixr_request' and 'ixr_response' to the <pre> elements printed by IXR_Client when debug mode is enabled. It also retains the response headers and whitespace for the debug response content that is printed to screen.

Attachments (2)

class-IXR.diff (1.1 KB) - added by wnorris 5 years ago.
class-IXR-2.diff (406 bytes) - added by wnorris 5 years ago.

Download all attachments as: .zip

Change History (6)

wnorris5 years ago

comment:1 westi5 years ago

(In [10423]) Make the IXR debug classy. See #8916 props wnorris

wnorris5 years ago

comment:2 wnorris5 years ago

oops, looks like I forgot to initialize $debug_contents, causing a PHP notice. new patch attached.

comment:3 westi5 years ago

(In [10436]) Setup an initial value to avoid a Notice. See #8916 props wnorris.

comment:4 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.