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

WordPress Trac noreply at wordpress.org
Mon Aug 8 14:38:51 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:  performance
----------------------------------------+------------------------------

Comment (by adamsilverstein):

 Hey @johnregan3 - thanks for offering to help here!

 Reviewing our test files, it looks like you would need to implement a new
 image class that lacks a `make_subsize` function to do this testing. I'm
 not sure what else you will need to implement there, you can probably
 start with a copy of the existing GD class, then remove anything that
 isn't needed.

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


More information about the wp-trac mailing list