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

git-svn-id: https://develop.svn.wordpress.org/trunk@20073 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-03-02 17:59:47 +00:00
parent f4d36e96a5
commit b33b1839cc
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(