From f84f149445b7d4fc55705693aa1ef53d8f23724c Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 11 Sep 2012 01:26:38 +0000 Subject: [PATCH] XML-RPC: Add the 'home' option to wp.getOptons. props mrroundhill. fixes #21822. git-svn-id: http://core.svn.wordpress.org/trunk@21805 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index c5eea7915e..428a482708 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -336,6 +336,11 @@ class wp_xmlrpc_server extends IXR_Server { 'readonly' => true, 'option' => 'siteurl' ), + 'home_url' => array( + 'desc' => __( 'Home URL' ), + 'readonly' => true, + 'option' => 'home' + ), 'image_default_link_type' => array( 'desc' => __( 'Image default link type' ), 'readonly' => true,