WordPress.org

Making WordPress.org

Changeset 2348


Ignore:
Timestamp:
01/21/2016 11:05:55 PM (3 years ago)
Author:
ocean90
Message:

Translate: Add missing gp_ prefix to some actions.

See #1352.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/discarded-warning.php

    r2120 r2348  
    1616
    1717    public function __construct() {
    18         add_action( 'warning_discarded', array( $this, 'log_discarded_warning' ), 10, 5 );
     18        add_action( 'gp_warning_discarded', array( $this, 'log_discarded_warning' ), 10, 5 );
    1919    }
    2020
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/project.php

    r2114 r2348  
    2020        global $wpdb, $gp_table_prefix;
    2121
    22         add_action( 'translation_created', array( $this, 'translation_created' ) );
    23         add_action( 'translation_saved', array( $this, 'translation_saved' ) );
    24         add_action( 'originals_imported', array( $this, 'originals_imported' ), 10, 5 );
     22        add_action( 'gp_translation_created', array( $this, 'translation_created' ) );
     23        add_action( 'gp_translation_saved', array( $this, 'translation_saved' ) );
     24        add_action( 'gp_originals_imported', array( $this, 'originals_imported' ), 10, 5 );
    2525
    2626        // DB Writes are delayed until shutdown to bulk-update the stats during imports
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/user.php

    r2114 r2348  
    1313        global $wpdb, $gp_table_prefix;
    1414
    15         add_action( 'translation_created', array( $this, 'translation_created' ) );
    16         add_action( 'translation_saved', array( $this, 'translation_saved' ) );
     15        add_action( 'gp_translation_created', array( $this, 'translation_created' ) );
     16        add_action( 'gp_translation_saved', array( $this, 'translation_saved' ) );
    1717
    1818        $wpdb->user_translations_count = $gp_table_prefix . 'user_translations_count';
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-slack-integrations/integrations/log-warnings.php

    r2265 r2348  
    2727        }
    2828
    29         add_action( 'warning_discarded', array( $this, 'warning_discarded' ), 10, 5 );
    30         add_action( 'translation_created', array( $this, 'translation_created' ) );
    31         add_action( 'translation_saved', array( $this, 'translation_saved' ) );
     29        add_action( 'gp_warning_discarded', array( $this, 'warning_discarded' ), 10, 5 );
     30        add_action( 'gp_translation_created', array( $this, 'translation_created' ) );
     31        add_action( 'gp_translation_saved', array( $this, 'translation_saved' ) );
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.