Opened 18 years ago
Closed 16 years ago
#7279 closed defect (bug) (fixed)
image_resize function can not load image
| Reported by: | auirshadow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
I have a plugin that makes use of the function image_resize in wp-includes/media.php to dynamically resize images on the public side of a website. However image_resize uses the function wp_load_image in wp-admin/includes/image.php which isn't available when not in the admin.
Shouldn't the load image function be moved so that it is available on the public side?
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [13860]) Fix image_resize() dependencies by moving wp_load_image() from admin includes to wp-includes. Fixes #7279