[wp-trac] [WordPress Trac] #60928: Interactivity API: Fatal error with empty image

WordPress Trac noreply at wordpress.org
Tue Apr 30 16:36:28 UTC 2024


#60928: Interactivity API: Fatal error with empty image
-------------------------------------+----------------------
 Reporter:  donohoe                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  Editor                   |     Version:  6.5
 Severity:  normal                   |  Resolution:  invalid
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+----------------------
Changes (by jorbin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  6.5.3 =>


Comment:

 Depending on how the callback was implemented, if it returned null even
 when the image wasn't empty it would still cause this problem. Are you
 able to share what the function looked like before you fixed it? If it's
 too sensitive of code, perhaps a stripped-down version?

 I'm marking this as closed for now but the discussion should continue and
 it should be reopened if there is a change to core that would help.

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


More information about the wp-trac mailing list