Changeset 1987642
- Timestamp:
- 12/07/2018 09:29:33 AM (7 years ago)
- Location:
- google-analytics-opt-out/trunk
- Files:
-
- 3 edited
-
google-analytics-opt-out.php (modified) (1 diff)
-
inc/admin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-analytics-opt-out/trunk/google-analytics-opt-out.php
r1965588 r1987642 4 4 Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out 5 5 Description: Provides an Opt-Out functionality for Google Analytics 6 Version: 2.2. 36 Version: 2.2.4 7 7 Author: WP-Buddy 8 8 Author URI: https://wp-buddy.com -
google-analytics-opt-out/trunk/inc/admin.php
r1965588 r1987642 136 136 137 137 if ( function_exists( 'gutenberg_get_jed_locale_data' ) ) { 138 $data = gutenberg_get_jed_locale_data( 'gaoop' ); 139 } else { 140 $data = wp_get_jed_locale_data( 'gaoop' ); 138 wp_add_inline_script( 139 'gaoop-block', 140 'wp.i18n.setLocaleData( ' . wp_json_encode( gutenberg_get_jed_locale_data( 'gaoop' ) ) . ', "gaoop" );', 141 'before' 142 ); 143 } elseif ( function_exists( 'wp_get_jed_locale_data' ) ) { 144 wp_add_inline_script( 145 'gaoop-block', 146 'wp.i18n.setLocaleData( ' . wp_json_encode( wp_get_jed_locale_data( 'gaoop' ) ) . ', "gaoop" );', 147 'before' 148 ); 149 } elseif ( function_exists( 'wp_set_script_translations' ) ) { 150 wp_set_script_translations( 'gaoop-block', 'gaoop' ); 141 151 } 142 143 wp_add_inline_script(144 'gaoop-block',145 'wp.i18n.setLocaleData( ' . wp_json_encode( $data ) . ', "gaoop" );',146 'before'147 );148 152 } -
google-analytics-opt-out/trunk/readme.txt
r1965588 r1987642 3 3 Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/ 4 4 Tags: google analytics opt-out, monster insights, gdpr 5 Version: 2.2. 36 Stable tag: 2.2. 35 Version: 2.2.4 6 Stable tag: 2.2.4 7 7 Requires at least: 4.8.0 8 8 Requires PHP: 5.6.0 … … 42 42 43 43 == Changelog == 44 45 = 2.2.4 = 46 * Gutenberg block content was not translated correctly in WordPress 5.0 44 47 45 48 = 2.2.3 =
Note: See TracChangeset
for help on using the changeset viewer.