[wp-trac] [WordPress Trac] #50833: [PHP 8] GD resources are GdImage object instances
WordPress Trac
noreply at wordpress.org
Fri Aug 28 12:33:41 UTC 2020
#50833: [PHP 8] GD resources are GdImage object instances
-------------------------------------------+-------------------------------
Reporter: ayeshrajans | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: php8 has-patch needs-dev-note | Focuses: coding-standards
-------------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:7 SergeyBiryukov]:
> Since some media functions can technically be called on front end, I'm
wondering if `is_gd_image()` should be available on front end too.
> ...
> It's hard to tell if any plugins that implement front-end editing might
need the function too, I guess we can wait and see if there are any
reports during the dev cycle.
Follow-up: #51174
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50833#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list