[wp-trac] [WordPress Trac] #33878: New function: `get_attachment_image_url()`
WordPress Trac
noreply at wordpress.org
Wed Sep 16 07:06:37 UTC 2015
#33878: New function: `get_attachment_image_url()`
-------------------------------------------------+-------------------------
Reporter: sebastian.pisula | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting
Component: Media | Review
Severity: normal | Version:
Keywords: needs-refresh needs-unit-tests has- | Resolution:
patch | Focuses:
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: needs-patch => needs-refresh needs-unit-tests has-patch
Comment:
Nevermind, `wp_get_attachment_url()` is not only for images.
`wp_get_attachment_image_url()` as suggested sounds good.
@sebastian.pisula Would you mind refreshing the patch with
[https://make.wordpress.org/core/handbook/best-practices/inline-
documentation-standards/ proper inline docs] and perhaps unit tests?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33878#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list