Changeset 42228 for trunk/src/xmlrpc.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/xmlrpc.php
r42201 r42228 34 34 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 35 35 <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 36 <service> 37 <engineName>WordPress</engineName> 38 <engineLink>https://wordpress.org/</engineLink> 39 <homePageLink><?php bloginfo_rss('url') ?></homePageLink> 40 <apis> 41 <api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 42 <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 43 <api name="MetaWeblog" 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 46 /** 47 * Add additional APIs to the Really Simple Discovery (RSD) endpoint. 48 * 49 * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html 50 * 51 * @since 3.5.0 52 */ 53 do_action( 'xmlrpc_rsd_apis' ); 54 ?> 55 </apis> 56 </service> 57 57 </rsd> 58 58 <?php
Note: See TracChangeset
for help on using the changeset viewer.