Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8916 closed enhancement (fixed)

enhance debugging output in class-IXR.php

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

Description

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

Download all attachments as: .zip

Change History (6)

@wnorris
18 years ago

#1 @westi
18 years ago

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

@wnorris
18 years ago

#2 @wnorris
18 years ago

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

#3 @westi
18 years ago

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

#4 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.