[wp-trac] [WordPress Trac] #37255: wp_get_attachment_caption and post parameter

WordPress Trac noreply at wordpress.org
Fri Jul 15 21:09:35 UTC 2016


#37255: wp_get_attachment_caption and post parameter
-------------------------+-----------------------------
 Reporter:  wido         |       Owner:  joemcgill
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  Future Release
Component:  Media        |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by wido):

 There are also these functions that support the WP_Post object as
 parameter:

 {{{post_password_required}}}
 {{{setup_postdata}}}
 {{{get_post}}}
 {{{get_post_type}}}
 {{{sanitize_post}}}
 {{{wp_trash_post_comments}}}
 {{{wp_untrash_post_comments}}}
 {{{get_page_uri}}}
 {{{get_oembed_response_data}}}
 {{{get_page_templates}}}

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


More information about the wp-trac mailing list