equal
deleted
inserted
replaced
44 <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
44 <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> |
45 <?php |
45 <?php |
46 /** |
46 /** |
47 * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
47 * Add additional APIs to the Really Simple Discovery (RSD) endpoint. |
48 * |
48 * |
49 * @see http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
49 * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html |
|
50 * |
50 * @since 3.5.0 |
51 * @since 3.5.0 |
51 */ |
52 */ |
52 do_action( 'xmlrpc_rsd_apis' ); |
53 do_action( 'xmlrpc_rsd_apis' ); |
53 ?> |
54 ?> |
54 </apis> |
55 </apis> |
71 |
72 |
72 /** |
73 /** |
73 * Filter the class used for handling XML-RPC requests. |
74 * Filter the class used for handling XML-RPC requests. |
74 * |
75 * |
75 * @since 3.1.0 |
76 * @since 3.1.0 |
76 * @param string The name of the XML-RPC server class. |
77 * |
|
78 * @param string $class The name of the XML-RPC server class. |
77 */ |
79 */ |
78 $wp_xmlrpc_server_class = apply_filters( 'wp_xmlrpc_server_class', 'wp_xmlrpc_server' ); |
80 $wp_xmlrpc_server_class = apply_filters( 'wp_xmlrpc_server_class', 'wp_xmlrpc_server' ); |
79 $wp_xmlrpc_server = new $wp_xmlrpc_server_class; |
81 $wp_xmlrpc_server = new $wp_xmlrpc_server_class; |
80 |
82 |
81 // Fire off the request |
83 // Fire off the request |