WordPress.org

Make WordPress Core

Changeset 11789


Ignore:
Timestamp:
08/08/09 08:38:20 (6 years ago)
Author:
westi
Message:

Seperate out the XML-RPC server active behaviour from object construction so that plugins can use the utility functions when extending the XML-RPC server. Fixes #10513 props davecpage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r11783 r11789  
    202202        $this->initialise_blog_option_info( ); 
    203203        $this->methods = apply_filters('xmlrpc_methods', $this->methods); 
     204    } 
     205 
     206    function serve_request() { 
    204207        $this->IXR_Server($this->methods); 
    205208    } 
     
    34063409 
    34073410$wp_xmlrpc_server = new wp_xmlrpc_server(); 
    3408  
     3411$wp_xmlrpc_server->serve_request(); 
    34093412?> 
Note: See TracChangeset for help on using the changeset viewer.