[wp-trac] [WordPress Trac] #33277: Misleading comment for wp_get_attachment_link function

WordPress Trac noreply at wordpress.org
Thu Aug 20 20:31:36 UTC 2015


#33277: Misleading comment for wp_get_attachment_link function
----------------------------------------+-----------------------------
 Reporter:  several27                   |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.4
Component:  Media                       |     Version:  4.2.3
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch 4.4-early commit  |     Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"33669"]:
 {{{
 #!CommitTicketReference repository="" revision="33669"
 In `wp_get_attachment_link()`, accept an `id` or `WP_Post` as the first
 parameter.

 Props several27, DrewAPicture.
 Fixes #33277.
 }}}

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


More information about the wp-trac mailing list