Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#14820 closed defect (bug) (fixed)

Allow WP XML-RPC Library to be Extended

Reported by: filosofo's profile filosofo Owned by: filosofo's profile filosofo
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: XML-RPC Keywords: has-patch
Focuses: Cc:

Description

WP defines a large set (thousands of lines of code) of XML-RPC server methods in xmlrpc.php.

Unfortunately, WP's server class is defined, instantiated, and executed all in the same file, which makes it difficult to use those methods elsewhere (for example, in my JSON RPC plugin).

My patch moves the XML-RPC class to a file in wp-includes.

Attachments (3)

move-wp-xmlrpc-server-class.14820.diff (186.4 KB) - added by filosofo 13 years ago.
14820-move-include.patch (829 bytes) - added by hakre 13 years ago.
move include statement for IXR as well
14820-move-include.2.patch (445 bytes) - added by hakre 13 years ago.
Most probably for the admin include as well

Download all attachments as: .zip

Change History (6)

#1 @westi
13 years ago

[15647][15648]
Leaving to soak for a bit.
May need more tweaks

@hakre
13 years ago

move include statement for IXR as well

@hakre
13 years ago

Most probably for the admin include as well

#2 @hakre
13 years ago

I guess those were missing :)

#3 @ryan
12 years ago

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