[wp-trac] [WordPress Trac] #56323: Undefined variable phpcs error for $new_size_meta

WordPress Trac noreply at wordpress.org
Tue Aug 2 15:07:17 UTC 2022


#56323: Undefined variable phpcs error for $new_size_meta
----------------------------------------+------------------------------
 Reporter:  mehulkaklotar               |       Owner:  adamsilverstein
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.1
Component:  Media                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by adamsilverstein):

 Good catch @mehulkaklotar! We missed this because it is only happening
 when `make_subsize` is unavailable and the system falls back to
 `$editor->multi_resize()`. I'm curious how you encountered this bug, were
 you using a custom image editor class?

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


More information about the wp-trac mailing list