[glotpress-updates] [GlotPress] #388: Skip translation sets if locale is corrupt
GlotPress
noreply at wordpress.org
Sun Jan 4 15:10:40 UTC 2015
#388: Skip translation sets if locale is corrupt
-----------------------+-----------------
Reporter: ocean90 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: General | Version:
Keywords: has-patch |
-----------------------+-----------------
If a slug of a locale is changed ([990] or [735]) we can't find the
associated GP_Locale anymore. You will get some PHP notices and empty
lines in the table:
Notice: Trying to get property of non-object in /gp-includes/things
/translation-set.php on line 18
Notice: Trying to get property of non-object in /gp-
includes/routes/project.php on line 36
Attached patch removes broken sets from the list.
--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/388>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'
More information about the glotpress-updates
mailing list