iubenda Cookie Solution for GDPR - Version 1.14.0-beta2

Version Description

Download this release

Release Info

Developer Facens
Plugin Icon 128x128 iubenda Cookie Solution for GDPR
Version 1.14.0-beta2
Comparing to
See all releases

Code changes from version 1.14.0-beta1 to 1.14.0-beta2

iubenda_cookie_solution.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.iubenda.com
5
  * Description: Iubenda Cookie Solution permette di gestire tutti gli aspetti della cookie law su WP.
6
  * Author: iubenda
7
- * Version: 1.14.0-beta1
8
  * Text Domain: iubenda-cookie-law-solution
9
  * Author URI: https://www.iubenda.com
10
  */
@@ -95,7 +95,7 @@ class iubenda_Cookie_Law_Solution {
95
  * Add submenu.
96
  */
97
  public function admin_menu_options() {
98
- add_options_page(
99
  'iubenda', 'iubenda', 'manage_options', 'iubenda-cookie-law-solution', array( $this, 'load_admin' ) );
100
  }
101
 
@@ -113,7 +113,8 @@ class iubenda_Cookie_Law_Solution {
113
  * @return void
114
  */
115
  public function admin_enqueue_scripts( $page ) {
116
- if ( $page !== 'settings_page_iubenda-cookie-law-solution' )
 
117
  return;
118
 
119
  wp_enqueue_script(
@@ -459,7 +460,7 @@ class iubenda_Cookie_Law_Solution {
459
  ' . __( "This plugin is the easiest and most comprehensive way to adapt your WordPress site to the European cookie law. Upon your user's first visit, the plugin will take care of collecting their consent, of blocking the most popular among the scripts that install cookies and subsequently reactivate these scripts as soon as consent is provided. The basic settings include obtaining consent by a simple scroll action (the most effective method) and script reactivation without refreshing the page.", 'iubenda-cookie-law-solution' ) . '
460
  <span class="iubenda-title">' . __( "Would you like to know more about the cookie law?", 'iubenda-cookie-law-solution' ) . '</span>
461
  ' . sprintf( __( "Read our <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">complete guide to the cookie law.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/soluzione-cookie-law" ) . '
462
- <span class="iubenda-title">' . __( "What’s the full functionality of the plugin?", 'iubenda-cookie-law-solution' ) . '</span>
463
  ' . sprintf( __( "Visit our <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">plugin page.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/help/posts/810" ) . '
464
  <span class="iubenda-title">' . __( "Enter the iubenda code for the Cookie Solution below.", 'iubenda-cookie-law-solution' ) . '</span>
465
  ' . sprintf( __( "In order to run the plugin, you need to enter the iubenda code that activates the cookie law banner and the cookie policy in the form below. This code can be generated on www.iubenda.com, following <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">this guide.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/help/posts/680" ) . '
4
  * Plugin URI: https://www.iubenda.com
5
  * Description: Iubenda Cookie Solution permette di gestire tutti gli aspetti della cookie law su WP.
6
  * Author: iubenda
7
+ * Version: 1.14.0-beta2
8
  * Text Domain: iubenda-cookie-law-solution
9
  * Author URI: https://www.iubenda.com
10
  */
95
  * Add submenu.
96
  */
97
  public function admin_menu_options() {
98
+ add_menu_page(
99
  'iubenda', 'iubenda', 'manage_options', 'iubenda-cookie-law-solution', array( $this, 'load_admin' ) );
100
  }
101
 
113
  * @return void
114
  */
115
  public function admin_enqueue_scripts( $page ) {
116
+
117
+ if ( $page !== 'toplevel_page_iubenda-cookie-law-solution' )
118
  return;
119
 
120
  wp_enqueue_script(
460
  ' . __( "This plugin is the easiest and most comprehensive way to adapt your WordPress site to the European cookie law. Upon your user's first visit, the plugin will take care of collecting their consent, of blocking the most popular among the scripts that install cookies and subsequently reactivate these scripts as soon as consent is provided. The basic settings include obtaining consent by a simple scroll action (the most effective method) and script reactivation without refreshing the page.", 'iubenda-cookie-law-solution' ) . '
461
  <span class="iubenda-title">' . __( "Would you like to know more about the cookie law?", 'iubenda-cookie-law-solution' ) . '</span>
462
  ' . sprintf( __( "Read our <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">complete guide to the cookie law.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/soluzione-cookie-law" ) . '
463
+ <span class="iubenda-title">' . __( "What is the full functionality of the plugin?", 'iubenda-cookie-law-solution' ) . '</span>
464
  ' . sprintf( __( "Visit our <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">plugin page.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/help/posts/810" ) . '
465
  <span class="iubenda-title">' . __( "Enter the iubenda code for the Cookie Solution below.", 'iubenda-cookie-law-solution' ) . '</span>
466
  ' . sprintf( __( "In order to run the plugin, you need to enter the iubenda code that activates the cookie law banner and the cookie policy in the form below. This code can be generated on www.iubenda.com, following <a href=\"%s\" class=\"iubenda-url\" target=\"_blank\">this guide.</a>", 'iubenda-cookie-law-solution' ), "https://www.iubenda.com/it/help/posts/680" ) . '
languages/iubenda-cookie-law-solution.pot CHANGED
@@ -99,7 +99,7 @@ msgstr ""
99
 
100
  #: iubenda_cookie_solution.php:527
101
  msgid ""
102
- "Leaves scripts untouched on the page if the user has already given consent"
103
  msgstr ""
104
 
105
  #: iubenda_cookie_solution.php:528
@@ -109,7 +109,7 @@ msgid ""
109
  msgstr ""
110
 
111
  #: iubenda_cookie_solution.php:536
112
- msgid "Applies special optimizations in cases with faulty output"
113
  msgstr ""
114
 
115
  #: iubenda_cookie_solution.php:537
99
 
100
  #: iubenda_cookie_solution.php:527
101
  msgid ""
102
+ "Leave scripts untouched on the page if the user has already given consent"
103
  msgstr ""
104
 
105
  #: iubenda_cookie_solution.php:528
109
  msgstr ""
110
 
111
  #: iubenda_cookie_solution.php:536
112
+ msgid "Apply special optimizations in cases with faulty output"
113
  msgstr ""
114
 
115
  #: iubenda_cookie_solution.php:537