Plugin Directory


Ignore:
Timestamp:
12/02/2016 08:51:59 AM (9 years ago)
Author:
wp-buddy
Message:

Bring back load_plugin_textdomain() to (maybe) force translate.wordpress.org to show translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • google-analytics-opt-out/tags/2.0.1/google-analytics-opt-out.php

    r1544512 r1544524  
    3333}
    3434
    35 // For translation purposes
    36 __( 'Google Analytics Opt-Out Pro', 'google-analytics-opt-out' );
    37 __( 'Provides an Opt-Out functionality for Google Analytics', 'google-analytics-opt-out' );
     35add_action( 'init', function () {
     36    # this is still needed @see https://wordpress.org/support/topic/this-plugin-is-not-properly-prepared-for-localization/#post-6885466
     37    load_plugin_textdomain( 'google-analytics-opt-out' );
     38} );
    3839
    3940define( 'GAOOP_FILE', __FILE__ );
Note: See TracChangeset for help on using the changeset viewer.