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

WordPress Trac noreply at wordpress.org
Fri Jul 15 21:13:56 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 flixos90):

 Replying to [comment:4 wido]:
 > There are also these functions that support the WP_Post object as
 parameter [...]

 I think what we need to discuss here is whether attachment functions are
 intentionally different from regular post functions (like the ones you
 mentioned) or whether it just hasn't been improved yet.
 I tend to agree with you that these functions should support post objects
 too, but due to the impact of this change, we probably won't be able to
 get it in this release cycle.

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


More information about the wp-trac mailing list