WordPress.org

Making WordPress.org

Changeset 3060


Ignore:
Timestamp:
05/02/2016 04:17:55 PM (6 years ago)
Author:
ocean90
Message:

Translate, Plugin Directory: Update hook action to include the wporg_translate_ prefix.

See #1636.

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  
    2323        add_action( 'gp_translation_saved', array( $this, 'queue_translation_for_sync' ), 5 );
    2424
    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' ) );
    2626
    2727        add_action( 'shutdown', array( $this, 'sync_translations' ) );
     
    3131     * Starts the sync of plugin translations between two projects.
    3232     *
    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`.
    3434     *
    3535     * @param array $args Arguments from the job. Should include the path
Note: See TracChangeset for help on using the changeset viewer.