[wp-trac] [WordPress Trac] #42044: _test_list_hierarchical_page() - improve clean-up

WordPress Trac noreply at wordpress.org
Sat Sep 30 18:49:05 UTC 2017


#42044: _test_list_hierarchical_page() - improve clean-up
------------------------------+------------------
 Reporter:  birgire           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * version:  trunk =>
 * milestone:  Awaiting Review => 4.9


Comment:

 Thanks @birgire, good catch!

 The only problem with [attachment:42044.patch] is that this won't run when
 the assertion above fails. Execution is stopped there. Putting this after
 `$output = ob_get_clean();` instead would prevent this.

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


More information about the wp-trac mailing list