[Wp-unit-tests] [WordPress Unit Tests] #38: Undefined var breaks calls to http() with debug mode on

WordPress Unit Tests noreply at wordpress.org
Tue Apr 17 16:07:40 UTC 2012


#38: Undefined var breaks calls to http() with debug mode on
----------------------------+------------------------------------
 Reporter:  benbalter       |      Owner:
     Type:  defect          |     Status:  new
 Priority:  minor           |  Milestone:  Improve Test Framework
Component:  Test Framework  |    Version:
 Keywords:                  |
----------------------------+------------------------------------
 When reseting `$GLOBALS['wp']->main()`, `http()` assumes there's a query,
 which throws an undefined var when there's not. Conditioned on `isset()`
 like used previously in the same funcion.

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


More information about the wp-unit-tests mailing list