#58686 closed defect (bug) (fixed)
Fix docBlock of image_get_intermediate_size()
Reported by: | crstauf | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
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.
19 months ago
#1
- Keywords has-patch added
#2
@
19 months ago
- Component changed from General to Media
- Focuses docs added
- Keywords commit added
- Milestone changed from Awaiting Review to 6.3
- Owner set to audrasjb
- Status changed from new to accepted
Thanks for spotting this and for the PR!
Moving to 6.3.
#4
follow-up:
↓ 6
@
19 months ago
@crstauf please don't forget to mention the reporter when moving User Contributed Notes to Trac 🙂
Props: @sccr410.
#6
in reply to:
↑ 4
@
19 months 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:
19 months ago
#8
committed in https://core.trac.wordpress.org/changeset/56122
Note: See
TracTickets for help on using
tickets.
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