[wp-trac] [WordPress Trac] #51174: wp 5.6 missing function is_gd_image
WordPress Trac
noreply at wordpress.org
Fri Aug 28 12:32:35 UTC 2020
#51174: wp 5.6 missing function is_gd_image
-------------------------------+---------------------
Reporter: BackuPs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+---------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
* component: General => Media
* milestone: Awaiting Review => 5.6
Comment:
Thanks for the report!
The function was added in [48798] / #50833. As noted in
comment:7:ticket:50833, while some media functions can be called on front
end, `is_gd_image()` is currently only available in the admin, and should
probably be on front end too.
Could you share some details about how you're using `
wp_imagecreatetruecolor()`? Is it for image creation or editing on front
end?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51174#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list