[glotpress-updates] [GlotPress] #298: GP_Thing call fails to reinstate the map_results property when calling _no_map methods

GlotPress noreply at wordpress.org
Wed Apr 23 18:29:23 UTC 2014


#298: GP_Thing call fails to reinstate the map_results property when calling
_no_map methods
---------------------------+-----------------
 Reporter:  yoavf          |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:
Component:  Accessibility  |    Version:
 Keywords:                 |
---------------------------+-----------------
 Premature return:

 {{{
 $this->map_results = false;
 return call_user_func_array( array( &$this, $name ), $args );
 $this->map_results = true;
 }}}

 This can cause some tests to fail if they rely on mapping results, and
 could possibly lead to other bugs. See
 [https://glotpress.trac.wordpress.org/ticket/263#comment:22 this comment]
 as an example.

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


More information about the glotpress-updates mailing list