Ginger – EU Cookie Law - Version 3.1.2

Version Description

  • js & notice fix
Download this release

Release Info

Developer manafactory
Plugin Icon 128x128 Ginger – EU Cookie Law
Version 3.1.2
Comparing to
See all releases

Code changes from version 3.1.1 to 3.1.2

admin/js/ginger.js CHANGED
@@ -64,9 +64,3 @@ function en_dis_able_add_on(id,id_img,id_text){
64
  }
65
 
66
  }
67
-
68
- jQuery(function() {
69
- jQuery(".lined").linedtextarea(
70
- {selectedLine: 1}
71
- );
72
- });
64
  }
65
 
66
  }
 
 
 
 
 
 
admin/partial/banner.php CHANGED
@@ -215,3 +215,11 @@
215
  </tr>
216
  </tbody>
217
  </table>
 
 
 
 
 
 
 
 
215
  </tr>
216
  </tbody>
217
  </table>
218
+
219
+ <script>
220
+ jQuery(function() {
221
+ jQuery(".lined").linedtextarea(
222
+ {selectedLine: 1}
223
+ );
224
+ });
225
+ </script>
front/gingerfront.core.php CHANGED
@@ -30,9 +30,11 @@ function ginger_get_text_banner($option_ginger_bar){
30
  //Recupero privacy policy se presente
31
  if(strpos($ginger_text, '{{privacy_page}}') !== false):
32
  $privacy_policy = get_option('ginger_policy', true);
33
- $privacy_policy = get_post($privacy_policy);
34
- $privacy_policy = ' <a href="' . get_permalink($privacy_policy->ID) . '">' . addslashes($privacy_policy->post_title) . '<\/a>';
35
- $ginger_text = str_replace('{{privacy_page}}', $privacy_policy, $ginger_text);
 
 
36
  endif;
37
 
38
  else:
30
  //Recupero privacy policy se presente
31
  if(strpos($ginger_text, '{{privacy_page}}') !== false):
32
  $privacy_policy = get_option('ginger_policy', true);
33
+ $privacy_policy_page = get_post($privacy_policy);
34
+ if($privacy_policy_page){
35
+ $privacy_policy_text = ' <a href="' . get_permalink($privacy_policy_page->ID) . '">' . addslashes($privacy_policy_page->post_title) . '<\/a>';
36
+ $ginger_text = str_replace('{{privacy_page}}', $privacy_policy_text, $ginger_text);
37
+ }
38
  endif;
39
 
40
  else:
ginger-eu-cookie-law.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ginger - EU Cookie Law
4
  Plugin URI: http://www.ginger-cookielaw.com/
5
  Description: Make your website compliant with EU Cookie Policy! For more features get <a href="http://www.ginger-cookielaw.com/download/">Ginger Plus - Tools Installer</a>
6
- Version: 3.1.1
7
  Author: Manafactory
8
  Author URI: http://manafactory.it/
9
  License: GPLv2 or later
3
  Plugin Name: Ginger - EU Cookie Law
4
  Plugin URI: http://www.ginger-cookielaw.com/
5
  Description: Make your website compliant with EU Cookie Policy! For more features get <a href="http://www.ginger-cookielaw.com/download/">Ginger Plus - Tools Installer</a>
6
+ Version: 3.1.2
7
  Author: Manafactory
8
  Author URI: http://manafactory.it/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.ginger-cookielaw.com/
4
  Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
- Stable tag: 3.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -93,6 +93,9 @@ Yes, actually you we have 2 addons for multilanguages: wpml and polylang. Ask to
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 3.1.1 =
97
  * minor changes
98
 
4
  Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia
5
  Requires at least: 3.0.1
6
  Tested up to: 4.4
7
+ Stable tag: 3.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
93
 
94
  == Changelog ==
95
 
96
+ = 3.1.2 =
97
+ * js & notice fix
98
+
99
  = 3.1.1 =
100
  * minor changes
101