Make WordPress Core

Opened 13 years ago

Closed 13 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 13 years ago.
class-IXR-2.diff (406 bytes) - added by wnorris 13 years ago.

Download all attachments as: .zip

Change History (6)

13 years ago

#1 @westi
13 years ago

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

13 years ago

#2 @wnorris
13 years ago

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

#3 @westi
13 years ago

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

#4 @ryan
13 years ago

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