mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
ce4e3dc47b
commit
d116969cef
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user