Opened 9 years ago
Closed 8 years ago
#34733 closed defect (bug) (fixed)
Responsive Images: Inline docs fixes
Reported by: | joemcgill | Owned by: | joemcgill |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Media | Keywords: | has-patch ongoing |
Focuses: | docs | Cc: |
Description
While preparing an updated version of the RICG Responsive Images Plugin, we came across a few places where the inline docs could be improved or were inaccurate.
Attachments (3)
Change History (18)
#6
@
9 years ago
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 thewp_get_attachment_image_srcset()
DocBlock because it heavily relies on it - Refer to
wp_calculate_image_sizes()
in thewp_get_attachment_image_sizes()
DocBlock because it heavily relies on it
#7
follow-up:
↓ 10
@
9 years ago
@DrewAPicture: Some clarification if we're _doing_it_wrong()
with @see tags would be helpful here. Jasper and I were a bit confused by the Docs Handbook. Thanks.
#8
@
9 years ago
34733.2.diff removes some redundant 'type' strings from the wp_calculate_image_srcset
filter docblock. This issue was originally caught by @DH-Shredder in 34736.3.patch.
This ticket was mentioned in Slack in #core by wonderboymusic. View the logs.
9 years ago
#10
in reply to:
↑ 7
@
9 years ago
- Keywords has-patch added
Replying to joemcgill:
@DrewAPicture: Some clarification if we're
_doing_it_wrong()
with @see tags would be helpful here. Jasper and I were a bit confused by the Docs Handbook. Thanks.
What did you find confusing? 34733.1.diff looks fine to me.
#13
@
9 years ago
- Keywords ongoing added
- Milestone changed from 4.4 to Future Release
we all know this is a brand new feature that might need commits for docs - moving off the report until motion picks up again
+1
Chatted with @DrewAPicture -- let's use this ticket for tracking of any other docs fixes that might come up for RespImg pre 4.4 as well, to keep them in one place.