Changeset 3060 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/sync/class-translation-sync.php
- Timestamp:
- 05/02/2016 04:17:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/sync/class-translation-sync.php
r3057 r3060 23 23 add_action( 'gp_translation_saved', array( $this, 'queue_translation_for_sync' ), 5 ); 24 24 25 add_action( ' sync_plugin_translations', array( $this, 'sync_plugin_translations_on_commit' ) );25 add_action( 'wporg_translate_sync_plugin_translations', array( $this, 'sync_plugin_translations_on_commit' ) ); 26 26 27 27 add_action( 'shutdown', array( $this, 'sync_translations' ) ); … … 31 31 * Starts the sync of plugin translations between two projects. 32 32 * 33 * Gets triggered by the cron API and the hook ` sync_plugin_translations`.33 * Gets triggered by the cron API and the hook `wporg_translate_sync_plugin_translations`. 34 34 * 35 35 * @param array $args Arguments from the job. Should include the path
Note: See TracChangeset
for help on using the changeset viewer.