[wp-trac] [WordPress Trac] #36661: Improve `wp_get_attachment_image()` and `wp_get_attachment_image_attributes` docs.

WordPress Trac noreply at wordpress.org
Thu Jan 31 21:30:06 UTC 2019


#36661: Improve `wp_get_attachment_image()` and
`wp_get_attachment_image_attributes` docs.
------------------------------------+---------------------
 Reporter:  juanfra                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.2
Component:  Media                   |     Version:  4.4
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  docs
------------------------------------+---------------------

Comment (by joemcgill):

 The current patch is an improvement, but I'd prefer to see the whole array
 documented per [https://make.wordpress.org/core/handbook/best-practices
 /inline-documentation-standards/php/#1-1-parameters-that-are-arrays our
 documentation in the handbook].

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


More information about the wp-trac mailing list