WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (10 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r17663 r17771  
    2525     * Register all of the XMLRPC methods that XMLRPC server understands.
    2626     *
    27      * PHP4 constructor and sets up server and method property. Passes XMLRPC
     27     * Sets up server and method property. Passes XMLRPC
    2828     * methods through the 'xmlrpc_methods' filter to allow plugins to extend
    2929     * or replace XMLRPC methods.
     
    3333     * @return wp_xmlrpc_server
    3434     */
    35     function wp_xmlrpc_server() {
     35    function __construct() {
    3636        $this->methods = array(
    3737            // WordPress API
Note: See TracChangeset for help on using the changeset viewer.