[glotpress-updates] [GlotPress] #321: Fake request break routing

GlotPress noreply at wordpress.org
Fri May 9 18:18:29 UTC 2014


#321: Fake request break routing
--------------------------+-----------------
 Reporter:  markoheijnen  |      Owner:
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:  1.0
Component:  General       |    Version:
 Keywords:                |
--------------------------+-----------------
 In our routers we do use the method {{{die_with_404()}}. The problem here
 is that it calls {{{GP_Route::exit_()}}} and that one doesn't die when
 it's a fake request. So the router will continue running code and it can
 break our unit tests when we start writing them.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/321>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list