[wp-trac] [WordPress Trac] #38679: REST API: Media `caption` and `description` should have rendered/raw properties

WordPress Trac noreply at wordpress.org
Tue Nov 8 04:28:49 UTC 2016


#38679: REST API: Media `caption` and `description` should have rendered/raw
properties
--------------------------------------+---------------------
 Reporter:  jnylen0                   |       Owner:  rmccue
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by rmccue):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39154"]:
 {{{
 #!CommitTicketReference repository="" revision="39154"
 REST API: Change attachment caption & description to objects.

 Just like excerpt and content for regular posts, these have
 transformations applied that can make the content significantly different
 from the raw value.

 Props jnylen0.
 Fixes #38679.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38679#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list