WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#14820 closed defect (bug) (fixed)

Allow WP XML-RPC Library to be Extended

Reported by: filosofo Owned by: 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 4 years ago.
14820-move-include.patch (829 bytes) - added by hakre 4 years ago.
move include statement for IXR as well
14820-move-include.2.patch (445 bytes) - added by hakre 4 years ago.
Most probably for the admin include as well

Download all attachments as: .zip

Change History (6)

comment:1 westi4 years ago

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

hakre4 years ago

move include statement for IXR as well

hakre4 years ago

Most probably for the admin include as well

comment:2 hakre4 years ago

I guess those were missing :)

comment:3 ryan3 years ago

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