[glotpress-updates] [GlotPress] #208: String counts caching issues

GlotPress noreply at wordpress.org
Tue Jun 18 22:16:41 UTC 2013

#208: String counts caching issues
  Reporter:  dimadin  |      Owner:  markoheijnen
      Type:  defect   |     Status:  accepted
  Priority:  normal   |  Milestone:  1.0
 Component:  Cache    |    Version:
Resolution:           |   Keywords:  has-patch

Comment (by markoheijnen):

 Just did a first pass on fixing this. Didn't used the hooks for clearing
 the cache since you shouldn't be able to unhook them. So this commit
 mainly fix clearing the cache when new strings are imported.

 Fix minor issue with strings getting set as obsolete when they already are
 obsolete. Needed to fix that for the counter otherwise the cache would
 always be cleared when there is already one obsolete string.

 Delete cache inside copy_translations_from() shouldn't be needed so didn't
 add that one. Maybe we should request non cache data there. Not sure yet
 about the one inside edit_single_translation().

Ticket URL: <http://glotpress.trac.wordpress.org/ticket/208#comment:6>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'

More information about the glotpress-updates mailing list