Expose image_default_link_type, image_default_size, and image_default_align

options via XML-RPC

Props koke
Fixes #18126


git-svn-id: http://svn.automattic.com/wordpress/trunk@19884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
josephscott 2012-02-08 23:28:23 +00:00
parent ce4e3dc47b
commit d116969cef
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(