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:
parent
f4d36e96a5
commit
b33b1839cc
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user