Expose image_default_link_type, image_default_size, and image_default_align

options via XML-RPC

Props koke
Fixes #18126


git-svn-id: https://develop.svn.wordpress.org/trunk@19884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Joseph Scott 2012-02-08 23:28:23 +00:00
parent 42ed9afd4c
commit 08160dcccf
1 changed files with 15 additions and 0 deletions

View File

@ -310,6 +310,21 @@ class wp_xmlrpc_server extends IXR_Server {
'readonly' => true,
'option' => 'siteurl'
),
'image_default_link_type' => array(
'desc' => __( 'Image default link type' ),
'readonly' => true,
'option' => 'image_default_link_type'
),
'image_default_size' => array(
'desc' => __( 'Image default size' ),
'readonly' => true,
'option' => 'image_default_size'
),
'image_default_align' => array(
'desc' => __( 'Image default align' ),
'readonly' => true,
'option' => 'image_default_align'
),
// Updatable options
'time_zone' => array(