Version Description
Release Date: July 17th, 2015
Dev time: 1h
- Fixed warning array_merge on multisite
Download this release
Release Info
Developer | overclokk |
Plugin | Italy Cookie Choices (for EU Cookie Law) |
Version | 2.3.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.1 to 2.3.2
admin/class-italy-cookie-choices-admin-pointer.php
CHANGED
@@ -167,4 +167,4 @@ class Italy_Cookie_Choices_Pointer {
|
|
167 |
update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $meta );
|
168 |
}
|
169 |
|
170 |
-
}
|
167 |
update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $meta );
|
168 |
}
|
169 |
|
170 |
+
}
|
admin/class-italy-cookie-choices-admin.php
CHANGED
@@ -55,9 +55,8 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
55 |
|
56 |
/**
|
57 |
* Get all posts and pages object and merge for jQuery autocomplete function
|
58 |
-
* @var array
|
59 |
*/
|
60 |
-
$this->
|
61 |
|
62 |
/**
|
63 |
* Add Admin menù page
|
@@ -82,6 +81,20 @@ if ( !class_exists( 'Italy_Cookie_Choices_Admin' ) ){
|
|
82 |
|
83 |
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
/**
|
87 |
* Add page for italy-cookie-choices admin page
|
55 |
|
56 |
/**
|
57 |
* Get all posts and pages object and merge for jQuery autocomplete function
|
|
|
58 |
*/
|
59 |
+
$this->get_post_and_page_array();
|
60 |
|
61 |
/**
|
62 |
* Add Admin menù page
|
81 |
|
82 |
}
|
83 |
|
84 |
+
/**
|
85 |
+
* Get all posts and pages object and merge for jQuery autocomplete function
|
86 |
+
* @return array Return an array with all posts and pages
|
87 |
+
*/
|
88 |
+
public function get_post_and_page_array(){
|
89 |
+
|
90 |
+
$get_pages = ( is_array( get_pages('numberposts=-1') ) ) ? get_pages('numberposts=-1') : array();
|
91 |
+
|
92 |
+
$get_posts = ( is_array( get_posts('numberposts=-1') ) ) ? get_posts('numberposts=-1') : array();
|
93 |
+
|
94 |
+
$this->post_and_page_array = array_merge($get_pages, $get_posts);
|
95 |
+
|
96 |
+
}
|
97 |
+
|
98 |
|
99 |
/**
|
100 |
* Add page for italy-cookie-choices admin page
|
classes/class-italy-cookie-choices-front-end.php
CHANGED
@@ -758,4 +758,4 @@ if ( !class_exists( 'Italy_Cookie_Choices_Front_End' ) ){
|
|
758 |
}
|
759 |
|
760 |
}// class
|
761 |
-
}//endif
|
758 |
}
|
759 |
|
760 |
}// class
|
761 |
+
}//endif
|
italy-cookie-choices.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Italy Cookie Choices (for EU Cookie Law)
|
4 |
* Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
|
5 |
* Description: Italy Cookie Choices allows you to easily comply with the european cookie law and block third part cookie in your page.
|
6 |
-
* Version: 2.3.
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
3 |
* Plugin Name: Italy Cookie Choices (for EU Cookie Law)
|
4 |
* Plugin URI: https://plus.google.com/u/0/communities/109254048492234113886
|
5 |
* Description: Italy Cookie Choices allows you to easily comply with the european cookie law and block third part cookie in your page.
|
6 |
+
* Version: 2.3.2
|
7 |
* Author: Enea Overclokk, Andrea Pernici, Andrea Cardinale
|
8 |
* Author URI: https://github.com/ItalyCookieChoices/italy-cookie-choices
|
9 |
* Text Domain: italy-cookie-choices
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent, third party script, third party cookie
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3.0
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -115,6 +115,13 @@ if it doesn't work activate standard theme and try
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
= 2.3.1 =
|
119 |
Release Date: July 13th, 2015
|
120 |
|
4 |
Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent, third party script, third party cookie
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.3.0
|
7 |
+
Stable tag: 2.3.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 2.3.2 =
|
119 |
+
Release Date: July 17th, 2015
|
120 |
+
|
121 |
+
Dev time: 1h
|
122 |
+
|
123 |
+
* [Fixed warning array_merge on multisite](https://github.com/ItalyCookieChoices/italy-cookie-choices/commit/f2797a4f63a247a4918ec1c8d0823fc07b50384e)
|
124 |
+
|
125 |
= 2.3.1 =
|
126 |
Release Date: July 13th, 2015
|
127 |
|