XMLRPC: Expose the fact that the current theme supports featured images to XMLRPC clients so they can make intelligent UI decisions.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2012-03-08 12:19:45 +00:00
parent ba2a634b7c
commit d1e336dee2
1 changed files with 5 additions and 0 deletions

View File

@ -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(