Add template and stylesheet to readonly options that can be pulled from XML-RPC. props koke, ericmann. see #17132.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-02 17:59:47 +00:00
parent a147fd1d0b
commit 31223d73ed
1 changed files with 10 additions and 0 deletions

View File

@ -325,6 +325,16 @@ class wp_xmlrpc_server extends IXR_Server {
'readonly' => true,
'option' => 'image_default_align'
),
'template' => array(
'desc' => __( 'Template' ),
'readonly' => true,
'option' => 'template'
),
'stylesheet' => array(
'desc' => __( 'Stylesheet' ),
'readonly' => true,
'option' => 'stylesheet'
),
// Updatable options
'time_zone' => array(