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

GlotPress noreply at wordpress.org
Mon Nov 24 11:21:30 UTC 2014


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

Comment (by nbachiyski):

 Another cache value of interest might be
 `active_originals_count_by_project_id`, which, as the name suggest is by
 project id.

 The other day I was successfully making the proper counts to appear, using
 this script:

 {{{
         foreach( $projects as $project ) {
             wp_cache_delete( $project->id,
 'active_originals_count_by_project_id' );
         }

         foreach( $sets as $set ) {
             wp_cache_delete( $set->id, 'translation_set_status_breakdown'
 );
         }
 }}}

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


More information about the glotpress-updates mailing list