WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18429, comment 60


Ignore:
Timestamp:
02/26/12 16:59:42 (2 years ago)
Author:
maxcutler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18429, comment 60

    initial v1  
    11Added support for a `featured_image` field which sets the `_thumbnail_id` meta field in a safe way. See tests in [UT555]. 
     2 
     3It differs from the patch in #15098 in that it only returns the attachment ID. If a client needs more information (such as URL or caption), it should use `wp.getMediaItem`.