[wp-trac] [WordPress Trac] #34612: Responsive Images: Make new function/filter signatures more consistent
WordPress Trac
noreply at wordpress.org
Mon Nov 9 22:38:11 UTC 2015
#34612: Responsive Images: Make new function/filter signatures more consistent
--------------------------+---------------------
Reporter: joemcgill | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by joemcgill):
After discussion with @DrewAPicture, in [attachment:34612.filter.2.diff]
I've changed the inline docs to use proper `@type` docs for the array of
sources being passed in the `wp_calculate_image_srcset` filter, per the
[https://make.wordpress.org/core/handbook/best-practices/inline-
documentation-standards/php/#1-1-parameters-that-are-arrays inline docs
handbook].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34612#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list