EU Cookie Law - Version 2.1.2

Version Description

Download this release

Release Info

Developer Milmor
Plugin Icon 128x128 EU Cookie Law
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

Files changed (3) hide show
  1. class-frontend.php +0 -10
  2. eu-cookie-law.php +1 -1
  3. readme.txt +3 -3
class-frontend.php CHANGED
@@ -120,21 +120,11 @@ function eu_cookie_shortcode( $atts, $content = null ) {
120
  if ( cookie_accepted() ) {
121
  return apply_filters('the_content', $content);
122
  } else {
123
- $width = pulisci($content,'width=');
124
- $height = pulisci($content,'height=');
125
  return generate_cookie_notice($height, $width, $text);
126
  }
127
  }
128
  add_shortcode( 'cookie', 'eu_cookie_shortcode' );
129
 
130
- function pulisci($content,$ricerca){
131
- $caratteri = strlen($ricerca)+6;
132
- $stringa = substr($content, strpos($content, $ricerca), $caratteri);
133
- $stringa = str_replace("=", ":", $stringa);
134
- $stringa = trim(str_replace('"', '', $stringa));
135
- return $stringa;
136
- }
137
-
138
  function eu_cookie_control_shortcode( $atts ) {
139
  if (!eu_cookie_enabled()) { return; }
140
  if ( cookie_accepted() ) {
120
  if ( cookie_accepted() ) {
121
  return apply_filters('the_content', $content);
122
  } else {
 
 
123
  return generate_cookie_notice($height, $width, $text);
124
  }
125
  }
126
  add_shortcode( 'cookie', 'eu_cookie_shortcode' );
127
 
 
 
 
 
 
 
 
 
128
  function eu_cookie_control_shortcode( $atts ) {
129
  if (!eu_cookie_enabled()) { return; }
130
  if ( cookie_accepted() ) {
eu-cookie-law.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: EU Cookie Law
4
  Plugin URI: https://wordpress.org/plugins/eu-cookie-law/
5
  Description: Cookie Law informs users that your site has cookies, with a popup for more information and ability to lock scripts before acceptance.
6
- Version: 2.1.1
7
  Author: Alex Moss, Marco Milesi, Peadig, Shane Jones
8
  Author URI: https://wordpress.org/plugins/eu-cookie-law/
9
  Contributors: alexmoss, Milmor, peer, ShaneJones
3
  Plugin Name: EU Cookie Law
4
  Plugin URI: https://wordpress.org/plugins/eu-cookie-law/
5
  Description: Cookie Law informs users that your site has cookies, with a popup for more information and ability to lock scripts before acceptance.
6
+ Version: 2.1.2
7
  Author: Alex Moss, Marco Milesi, Peadig, Shane Jones
8
  Author URI: https://wordpress.org/plugins/eu-cookie-law/
9
  Contributors: alexmoss, Milmor, peer, ShaneJones
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === EU Cookie Law ===
2
  Contributors: alexmoss, Milmor, pleer, ShaneJones
3
- Version: 2.1.1
4
- Stable tag: 2.1.1
5
  Author: Alex Moss, Marco Milesi, Peadig, Shane Jones
6
  Author URI: https://profiles.wordpress.org/milmor/
7
  Tags: eu cookie, cookies, law, analytics, european, italia, garante, privacy, eu cookie law, italy, cookie, consent, europe
@@ -98,7 +98,7 @@ If you think that we should provide more shortcodes, functions, or enhance what
98
 
99
  == Changelog ==
100
 
101
- = 2.1.1 04.06.2015 =
102
  * Fixed shortcodes in `[cookie]...[/cookie]` not being correctly rendered
103
  * Best tinymce icon with windowmanager
104
  * New and enhanced developer functions
1
  === EU Cookie Law ===
2
  Contributors: alexmoss, Milmor, pleer, ShaneJones
3
+ Version: 2.1.2
4
+ Stable tag: 2.1.2
5
  Author: Alex Moss, Marco Milesi, Peadig, Shane Jones
6
  Author URI: https://profiles.wordpress.org/milmor/
7
  Tags: eu cookie, cookies, law, analytics, european, italia, garante, privacy, eu cookie law, italy, cookie, consent, europe
98
 
99
  == Changelog ==
100
 
101
+ = 2.1.1 + 2.1.2 04.06.2015 =
102
  * Fixed shortcodes in `[cookie]...[/cookie]` not being correctly rendered
103
  * Best tinymce icon with windowmanager
104
  * New and enhanced developer functions