iubenda Cookie Solution for GDPR - Version 2.5.7

Version Description

  • Bugfix: Pagination into the consent solution tab
Download this release

Release Info

Developer iubenda
Plugin Icon 128x128 iubenda Cookie Solution for GDPR
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

includes/forms-list-table.php CHANGED
@@ -43,13 +43,7 @@ class iubenda_List_Table_Forms extends WP_List_Table {
43
  $order = ( isset( $_GET['order'] ) ) && in_array( $_GET['order'], array( 'asc', 'desc' ) ) ? esc_attr( $_GET['order'] ) : 'desc';
44
 
45
  $per_page = 20;
46
-
47
- if ( isset( $_GET['number'] ) ) {
48
- $number = (int) $_GET['number'];
49
- } else {
50
- $number = $per_page + min( 8, $per_page ); // grab a few extra
51
- }
52
- $page = $this->get_pagenum();
53
 
54
  $args = array(
55
  'orderby' => $orderby,
@@ -63,8 +57,9 @@ class iubenda_List_Table_Forms extends WP_List_Table {
63
 
64
  // echo '<pre>'; print_r( $items ); echo '</pre>';
65
 
 
66
  if ( is_array( $items ) ) {
67
- $this->items = array_slice( $items, 0, $per_page );
68
  $this->extra_items = array_slice( $items, $per_page );
69
  }
70
 
43
  $order = ( isset( $_GET['order'] ) ) && in_array( $_GET['order'], array( 'asc', 'desc' ) ) ? esc_attr( $_GET['order'] ) : 'desc';
44
 
45
  $per_page = 20;
46
+ $page = $this->get_pagenum();
 
 
 
 
 
 
47
 
48
  $args = array(
49
  'orderby' => $orderby,
57
 
58
  // echo '<pre>'; print_r( $items ); echo '</pre>';
59
 
60
+ $offset = ($page * $per_page) - $per_page;
61
  if ( is_array( $items ) ) {
62
+ $this->items = array_slice( $items, $offset, $per_page );
63
  $this->extra_items = array_slice( $items, $per_page );
64
  }
65
 
iubenda_cookie_solution.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
- Version: 2.5.6
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
@@ -32,7 +32,7 @@ define( 'IUB_DEBUG', false );
32
  * iubenda final class.
33
  *
34
  * @class iubenda
35
- * @version 2.5.6
36
  */
37
  class iubenda {
38
 
@@ -62,7 +62,7 @@ class iubenda {
62
  )
63
  );
64
  public $base_url;
65
- public $version = '2.5.6';
66
  public $activation = array(
67
  'update_version' => 0,
68
  'update_notice' => true,
3
  Plugin Name: Cookie and Consent Solution for the GDPR & ePrivacy
4
  Plugin URI: https://www.iubenda.com
5
  Description: An All-in-One approach developed by iubenda, which includes functionalities of two powerful solutions that help to make your website GDPR and ePrivacy compliant.
6
+ Version: 2.5.7
7
  Author: iubenda
8
  Author URI: https://www.iubenda.com
9
  License: MIT License
32
  * iubenda final class.
33
  *
34
  * @class iubenda
35
+ * @version 2.5.7
36
  */
37
  class iubenda {
38
 
62
  )
63
  );
64
  public $base_url;
65
+ public $version = '2.5.7';
66
  public $activation = array(
67
  'update_version' => 0,
68
  'update_notice' => true,
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: cookies, cookie law, cookie policy, cookie banner, privacy policy, cookie
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.8
8
- Stable tag: 2.5.6
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -150,6 +150,9 @@ We will be very happy to receive feedback here: [Uservoice forum](https://suppor
150
 
151
  == Changelog ==
152
 
 
 
 
153
  = 2.5.6 =
154
  * Disable automatic block on page builder pages
155
 
@@ -535,5 +538,5 @@ We will be very happy to receive feedback here: [Uservoice forum](https://suppor
535
 
536
  == Upgrade Notice ==
537
 
538
- = 2.5.6 =
539
- * Disable automatic block on page builder pages
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.8
8
+ Stable tag: 2.5.7
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
150
 
151
  == Changelog ==
152
 
153
+ = 2.5.7 =
154
+ * Bugfix: Pagination into the consent solution tab
155
+
156
  = 2.5.6 =
157
  * Disable automatic block on page builder pages
158
 
538
 
539
  == Upgrade Notice ==
540
 
541
+ = 2.5.7 =
542
+ * Bugfix: Pagination into the consent solution tab