#58686 closed defect (bug) (fixed)
Fix docBlock of image_get_intermediate_size()
| Reported by: | crstauf | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
Description
Description of returned values in array is incorrect for image_get_intermediate_size():
file: returns the filename of image, no path informationpath: returns path relative to the uploads directory, not absolute
Change History (8)
This ticket was mentioned in PR #4770 on WordPress/wordpress-develop by @crstauf.
3 years ago
#1
- Keywords has-patch added
#2
@
3 years ago
- Component General → Media
- Focuses docs added
- Keywords commit added
- Milestone Awaiting Review → 6.3
- Owner set to
- Status new → accepted
Thanks for spotting this and for the PR!
Moving to 6.3.
#4
follow-up:
↓ 6
@
3 years ago
@crstauf please don't forget to mention the reporter when moving User Contributed Notes to Trac 🙂
Props: @sccr410.
#6
in reply to: ↑ 4
@
3 years ago
Replying to audrasjb:
@crstauf please don't forget to mention the reporter when moving User Contributed Notes to Trac 🙂
Props: @sccr410.
Yep, just realized I should probably do that. See previous comment.
@audrasjb commented on PR #4770:
3 years ago
#8
committed in https://core.trac.wordpress.org/changeset/56122
Description of returned values in array is incorrect for
image_get_intermediate_size():file: returns the filename of image, no path informationpath: returns path relative to the uploads directory, not absoluteTrac ticket: https://core.trac.wordpress.org/ticket/58686