[glotpress-updates] [GlotPress] #481: Add actions after Translations & Originals are created/updated

GlotPress noreply at wordpress.org
Wed Aug 12 11:47:52 UTC 2015


#481: Add actions after Translations & Originals are created/updated
----------------------+-----------------------
  Reporter:  dd32     |      Owner:  ocean90
      Type:  defect   |     Status:  closed
  Priority:  normal   |  Milestone:  1.0
 Component:  General  |    Version:
Resolution:  fixed    |   Keywords:  has-patch
----------------------+-----------------------
Changes (by ocean90):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1108"]:
 {{{
 #!CommitTicketReference repository="" revision="1108"
 Introduce actions after translations and originals are created/updated.

 * `translation_created` is triggered after a translation is created.
 * `translation_saved` is triggered after a translation is updated.
 * `original_created` is triggered after an original is created.
 * `GP_Translation` has been updated to use the `save()` method rather than
 the `update()` method. `update()` should only be used for when you're
 updating things that are not the current instance.

 props dd32.
 fixes #481.
 }}}

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


More information about the glotpress-updates mailing list