[wp-trac] [WordPress Trac] #51174: wp 5.6 missing function is_gd_image
WordPress Trac
noreply at wordpress.org
Fri Aug 28 16:43:47 UTC 2020
#51174: wp 5.6 missing function is_gd_image
--------------------------+-----------------------------
Reporter: BackuPs | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48905" 48905]:
{{{
#!CommitTicketReference repository="" revision="48905"
Media: Make the `is_gd_image()` function available on front end.
This avoids a fatal error if a plugin calls image creation or editing
functions like `wp_imagecreatetruecolor()` outside of the admin.
Follow-up to [48798]
Props BackuPs.
Fixes #51174. See #50833.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51174#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list