[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Sat Jun 4 13:39:32 UTC 2022


#55652: Test tool and unit test improvements for 6.1
------------------------------+---------------------
 Reporter:  hellofromTonya    |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  6.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"53464" 53464]:
 {{{
 #!CommitTicketReference repository="" revision="53464"
 Tests: Consistently pass the `$force_delete` parameter to
 `wp_delete_attachment()`.

 Convert some `wp_delete_post()` calls to `wp_delete_attachment()` to avoid
 an extra function call.

 See #55652.
 }}}

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


More information about the wp-trac mailing list