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

WordPress Trac noreply at wordpress.org
Thu Aug 6 19:03:49 UTC 2015


#33277: Misleading comment for wp_get_attachment_link function
---------------------------------+-----------------------------
 Reporter:  several27            |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Media                |     Version:  4.2.3
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.4-early  |     Focuses:  docs
---------------------------------+-----------------------------

Comment (by knutsp):

 Replying to [comment:6 MikeHansenMe]:
 > So is this just a problem with the function doc stating it can be a post
 object?

 Probably, and that's a bug. This patch solves it, and at the same time,
 it's an enhancement.

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


More information about the wp-trac mailing list