Ticket #10513: xmlrpc.diff
| File xmlrpc.diff, 459 bytes (added by davecpage, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: xmlrpc.php |
| 2 | =================================================================== |
| 3 | --- xmlrpc.php (revision 11748) |
| 4 | +++ xmlrpc.php (working copy) |
| 5 | @@ -201,6 +201,9 @@ |
| 6 | |
| 7 | $this->initialise_blog_option_info( ); |
| 8 | $this->methods = apply_filters('xmlrpc_methods', $this->methods); |
| 9 | + } |
| 10 | + |
| 11 | + function serve() { |
| 12 | $this->IXR_Server($this->methods); |
| 13 | } |
| 14 | |
| 15 | @@ -3403,5 +3406,5 @@ |
| 16 | } |
| 17 | |
| 18 | $wp_xmlrpc_server = new wp_xmlrpc_server(); |
| 19 | - |
| 20 | +$wp_xmlrpc_server->serve(); |
| 21 | ?> |
