[wp-trac] [WordPress Trac] #56248: Reduce code duplication in tests that upload file as attachment

WordPress Trac noreply at wordpress.org
Tue Jan 31 00:55:22 UTC 2023


#56248: Reduce code duplication in tests that upload file as attachment
--------------------------------------+-----------------------------
 Reporter:  martin.krcho              |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.2
Component:  Media                     |     Version:  6.1
 Severity:  minor                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by Mista-Flo):

 * keywords:  has-patch has-unit-tests changes-requested => has-patch has-
     unit-tests


Comment:

 Looks like a solid patch, I like the refactoring as well, it's more
 efficient like that, thank @martinkrcho

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


More information about the wp-trac mailing list