[wp-unit-tests] [WordPress Unit Tests] #127: WP_UnitTest_Factory_For_Thing::create() references unknown $callbacks variable

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 00:14:39 UTC 2012


#127: WP_UnitTest_Factory_For_Thing::create() references unknown $callbacks
variable
----------------------------+-----------------
 Reporter:  Viper007Bond    |      Owner:
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Test Framework  |   Keywords:
----------------------------+-----------------
 source:/trunk/includes/factory.php at 994#L189

 `$callbacks` isn't defined anywhere and so the `if` statement is
 pointless.

-- 
Ticket URL: <https://unit-tests.trac.wordpress.org/ticket/127>
WordPress Unit Tests <https://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list