Changes between Initial Version and Version 19 of Ticket #14814
- 09/09/10 17:26:53 (5 years ago)
- Property Status changed from new to assigned
- Property Milestone changed from 3.1 to Future Release
- Property Summary changed from Allow WP XML-RPC Library to be Extended to Use Dependency Injection or the like to instantiate wp_xmlrpc_server
initial v19 1 WP defines a large set (thousands of lines of code) of XML-RPC server methods in `xmlrpc.php`. 2 3 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). 4 5 My patch moves the XML-RPC class to a file in `wp-includes`. 1 Filter the `wp_xmlrpc_server` class or use some other means so that plugin authors can extend the XML-RPC server functionality.