WordPress.org

Make WordPress Core

Changeset 20155


Ignore:
Timestamp:
03/08/12 12:19:45 (3 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r20154 r20155  
    342342                'readonly'      => true, 
    343343                'option'        => 'stylesheet' 
     344            ), 
     345            'featured_image'    => array( 
     346                'desc'          => __('Featured Image'), 
     347                'readonly'      => true, 
     348                'value'         => current_theme_supports( 'post-thumbnails' ) 
    344349            ), 
    345350 
Note: See TracChangeset for help on using the changeset viewer.