[wp-trac] [WordPress Trac] #38679: REST API: Media `caption` and `description` should have rendered/raw properties
WordPress Trac
noreply at wordpress.org
Mon Nov 7 15:17:13 UTC 2016
#38679: REST API: Media `caption` and `description` should have rendered/raw
properties
--------------------------------------+------------------------------
Reporter: jnylen0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by jnylen0):
Also relevant here:
https://core.trac.wordpress.org/ticket/38609#comment:9
[With this patch], the rendered `description` for media items includes
the `<p class="attachment">` tag containing the attachment content itself.
Perhaps the filters we apply to attachment description should be tweaked,
and this should show up in the `content` property instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38679#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list