]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - xmlrpc.php
WordPress 4.4.2-scripts
[autoinstalls/wordpress.git] / xmlrpc.php
index 9c663820e08ca5bc59204fd791c13cf9b5358784..b3cbc6d6750bd4a76001ab1cb291cd29f5533cf6 100644 (file)
@@ -26,7 +26,7 @@ if ( isset($HTTP_RAW_POST_DATA) )
        $HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);
 
 /** Include the bootstrap for setting up WordPress environment */
-include('./wp-load.php');
+include( dirname( __FILE__ ) . '/wp-load.php' );
 
 if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
@@ -35,7 +35,7 @@ header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
 <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
   <service>
     <engineName>WordPress</engineName>
-    <engineLink>http://wordpress.org/</engineLink>
+    <engineLink>https://wordpress.org/</engineLink>
     <homePageLink><?php bloginfo_rss('url') ?></homePageLink>
     <apis>
       <api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" />
@@ -88,8 +88,8 @@ exit;
 /**
  * logIO() - Writes logging info to a file.
  *
- * @deprecated 3.4.0
- * @deprecated Use error_log()
+ * @deprecated 3.4.0 Use error_log()
+ * @see error_log()
  *
  * @param string $io Whether input or output
  * @param string $msg Information describing logging reason.