Make WordPress Core

Ticket #25229: xmlrpc.diff

File xmlrpc.diff, 1.2 KB (added by bftrick, 11 years ago)

first pass at xmlrpc.php

  • xmlrpc.php

     
    4242      <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
    4343      <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
    4444      <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
    45       <?php do_action( 'xmlrpc_rsd_apis' ); ?>
     45      <?php
     46      /**
     47       * Placeholder for adding additional XML-RPC APIs 
     48       *
     49       * @since 2.3
     50       */
     51      do_action( 'xmlrpc_rsd_apis' );
     52      ?>
    4653    </apis>
    4754  </service>
    4855</rsd>
     
    6168 */
    6269$post_default_title = "";
    6370
    64 // Allow for a plugin to insert a different class to handle requests.
     71/**
     72 * Allow for a plugin to insert a different class to handle requests 
     73 *
     74 * @since Unknown
     75 * @param string The name of the XML-RPC server class.
     76 */
    6577$wp_xmlrpc_server_class = apply_filters('wp_xmlrpc_server_class', 'wp_xmlrpc_server');
    6678$wp_xmlrpc_server = new $wp_xmlrpc_server_class;
    6779