WordPress.org

Make WordPress Core

Changes between Initial Version and Version 19 of Ticket #14814


Ignore:
Timestamp:
09/09/10 17:26:53 (5 years ago)
Author:
filosofo
Comment:

All of this is valid discussion fodder, but not what I was really hoping to accomplish. I am changing the title of the ticket to reflect its conversational trajectory more accurately.

Related: #14820

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14814

    • 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
  • Ticket #14814 – Description

    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`. 
     1Filter the `wp_xmlrpc_server` class or use some other means so that plugin authors can extend the XML-RPC server functionality.