Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-PageNavi |
Version | 2.93.2 |
Comparing to | |
See all releases |
Code changes from version 2.93.1 to 2.93.2
- readme.txt +6 -2
- scb/AdminPage.php +4 -1
- wp-pagenavi.php +1 -1
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: GamerZ, scribu
|
|
3 |
Donate link: https://lesterchan.net/site/donation/
|
4 |
Tags: navigation, pagination, paging, pages
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.93.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -147,6 +147,10 @@ You can do that like so:
|
|
147 |
`<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
|
148 |
|
149 |
## Changelog
|
|
|
|
|
|
|
|
|
150 |
### 2.93.1
|
151 |
* FIXED: Duplicated Settings Saved admin_notices
|
152 |
|
3 |
Donate link: https://lesterchan.net/site/donation/
|
4 |
Tags: navigation, pagination, paging, pages
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 5.4
|
7 |
+
Stable tag: 2.93.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
147 |
`<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
|
148 |
|
149 |
## Changelog
|
150 |
+
### 2.93.2
|
151 |
+
* NEW: Bumped to WordPress 5.4
|
152 |
+
* FIXED: Ensure Action Links is always an array
|
153 |
+
|
154 |
### 2.93.1
|
155 |
* FIXED: Duplicated Settings Saved admin_notices
|
156 |
|
scb/AdminPage.php
CHANGED
@@ -570,6 +570,10 @@ abstract class scbAdminPage {
|
|
570 |
* @return array
|
571 |
*/
|
572 |
public function _action_link( $links ) {
|
|
|
|
|
|
|
|
|
573 |
$url = add_query_arg( 'page', $this->args['page_slug'], admin_url( $this->args['parent'] ) );
|
574 |
|
575 |
$links[] = html_link( $url, $this->args['action_link'] );
|
@@ -577,4 +581,3 @@ abstract class scbAdminPage {
|
|
577 |
return $links;
|
578 |
}
|
579 |
}
|
580 |
-
|
570 |
* @return array
|
571 |
*/
|
572 |
public function _action_link( $links ) {
|
573 |
+
if ( ! is_array( $links ) ) {
|
574 |
+
$links = array();
|
575 |
+
}
|
576 |
+
|
577 |
$url = add_query_arg( 'page', $this->args['page_slug'], admin_url( $this->args['parent'] ) );
|
578 |
|
579 |
$links[] = html_link( $url, $this->args['action_link'] );
|
581 |
return $links;
|
582 |
}
|
583 |
}
|
|
wp-pagenavi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP-PageNavi
|
4 |
Plugin URI: https://lesterchan.net/portfolio/programming/php/
|
5 |
Description: Adds a more advanced paging navigation to your WordPress blog
|
6 |
-
Version: 2.93.
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: https://lesterchan.net
|
9 |
Text Domain: wp-pagenavi
|
3 |
Plugin Name: WP-PageNavi
|
4 |
Plugin URI: https://lesterchan.net/portfolio/programming/php/
|
5 |
Description: Adds a more advanced paging navigation to your WordPress blog
|
6 |
+
Version: 2.93.2
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: https://lesterchan.net
|
9 |
Text Domain: wp-pagenavi
|