[wp-trac] [WordPress Trac] #50833: [PHP 8] GD resources are GdImage object instances

WordPress Trac noreply at wordpress.org
Sun Aug 16 13:40:08 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  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by 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. Didn't
 want that consideration to block the initial commit though.

 Not reopening the ticket for now, just wanted to note that this may need
 to be done in case it comes up later.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50833#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list