[wp-trac] [WordPress Trac] #34733: Responsive Images: Inline docs fixes

WordPress Trac noreply at wordpress.org
Thu Nov 19 20:31:59 UTC 2015


#34733: Responsive Images: Inline docs fixes
--------------------------+------------------------
 Reporter:  joemcgill     |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.4
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  docs
--------------------------+------------------------

Comment (by jaspermdegroot):

 Following [#35696], in 34733.1.diff:

 Updated the `@see` tags of the responsive images functions:
 - Removed the quotes from the function names
 - Changed the functions we refer to in the DocBlock of
 `wp_image_add_srcset_and_sizes()` to the ones we actually call inside that
 function
 - Refer to `wp_calculate_image_srcset()` in the
 `wp_get_attachment_image_srcset()` DocBlock because it heavily relies on
 it
 - Refer to `wp_calculate_image_sizes()` in the
 `wp_get_attachment_image_sizes()` DocBlock because it heavily relies on it

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


More information about the wp-trac mailing list