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
This commit is contained in:
parent
26dc1e74e5
commit
f84f149445
|
@ -336,6 +336,11 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
'option' => 'siteurl'
|
'option' => 'siteurl'
|
||||||
),
|
),
|
||||||
|
'home_url' => array(
|
||||||
|
'desc' => __( 'Home URL' ),
|
||||||
|
'readonly' => true,
|
||||||
|
'option' => 'home'
|
||||||
|
),
|
||||||
'image_default_link_type' => array(
|
'image_default_link_type' => array(
|
||||||
'desc' => __( 'Image default link type' ),
|
'desc' => __( 'Image default link type' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
|
|
Loading…
Reference in New Issue