XMLRPC: Expose the fact that the current theme supports featured images to XMLRPC clients so they can make intelligent UI decisions.
git-svn-id: https://develop.svn.wordpress.org/trunk@20155 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
63bbecb681
commit
6101284e7f
|
@ -342,6 +342,11 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
'readonly' => true,
|
||||
'option' => 'stylesheet'
|
||||
),
|
||||
'featured_image' => array(
|
||||
'desc' => __('Featured Image'),
|
||||
'readonly' => true,
|
||||
'value' => current_theme_supports( 'post-thumbnails' )
|
||||
),
|
||||
|
||||
// Updatable options
|
||||
'time_zone' => array(
|
||||
|
|
Loading…
Reference in New Issue