[wp-trac] [WordPress Trac] #23965: Caption not showing in Post Format Image
WordPress Trac
noreply at wordpress.org
Sun Apr 7 17:20:13 UTC 2013
#23965: Caption not showing in Post Format Image
--------------------------+------------------------------
Reporter: RDall | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Formats | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by wonderboymusic):
the tl;dr of what the eventual patch will be: ID will work, but it is not
what we will insert into the meta field. Meta field will contain URL or
`<img>`, or HTML if it is linked, or shortcode if it is wrapped in
caption. All of those things already work for audio / video in the same
fashion. Also, when we are doing `get_the_post_format_image()`,
`$post->format_content` will be the `<img>`, the `<a><img>` or the
shortcode (parsed into HTML) found in the content. This means we have to
reboot the JS for image in `post-formats.js` which I made changes to
already to support dimensions and shortcodes for video in the above
mentioned patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23965#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list