WordPress.org

Making WordPress.org

Changeset 2360


Ignore:
Timestamp:
01/22/2016 08:56:08 PM (4 years ago)
Author:
ocean90
Message:

Translate: Revert parts of [2348]. These actions don't have a gp_ prefix.

See https://github.com/GlotPress/GlotPress-WP/issues/232.
See #1352.

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

Legend:

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

    r2348 r2360  
    2020        global $wpdb, $gp_table_prefix;
    2121
    22         add_action( 'gp_translation_created', array( $this, 'translation_created' ) );
    23         add_action( 'gp_translation_saved', array( $this, 'translation_saved' ) );
     22        add_action( 'translation_created', array( $this, 'translation_created' ) );
     23        add_action( 'translation_saved', array( $this, 'translation_saved' ) );
    2424        add_action( 'gp_originals_imported', array( $this, 'originals_imported' ), 10, 5 );
    2525
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/stats/user.php

    r2348 r2360  
    1313        global $wpdb, $gp_table_prefix;
    1414
    15         add_action( 'gp_translation_created', array( $this, 'translation_created' ) );
    16         add_action( 'gp_translation_saved', array( $this, 'translation_saved' ) );
     15        add_action( 'translation_created', array( $this, 'translation_created' ) );
     16        add_action( '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

    r2348 r2360  
    2828
    2929        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' ) );
     30        add_action( 'translation_created', array( $this, 'translation_created' ) );
     31        add_action( 'translation_saved', array( $this, 'translation_saved' ) );
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.