[glotpress-updates] [GlotPress] #475: Tests are passing wrong arguments to GP::$translation->for_export()
GlotPress
noreply at wordpress.org
Tue Jul 21 19:17:37 UTC 2015
#475: Tests are passing wrong arguments to GP::$translation->for_export()
-----------------------+-----------------
Reporter: ocean90 | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.0
Component: General | Version:
Keywords: has-patch |
-----------------------+-----------------
For example `GP::$translation->for_export( $set->project, $set, 0,
array('status' => 'current') );`
The argument `0` is unsupported by `for_export()` and should be replaced
with the filter argument. Seems to be a copy&paste issue from
`for_translation()` where the third argument is for `$page`.
--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/475>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list