[wp-trac] [WordPress Trac] #58686: Fix docBlock of image_get_intermediate_size()

WordPress Trac noreply at wordpress.org
Fri Jun 30 13:21:19 UTC 2023


#58686: Fix docBlock of image_get_intermediate_size()
--------------------------+-----------------------------
 Reporter:  crstauf       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Description of returned values in array is incorrect for
 `image_get_intermediate_size()`:

 - `file`: returns the filename of image, no path information
 - `path`: returns path relative to the uploads directory, not absolute

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58686>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list