WP-PageNavi - Version 2.93.4

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-PageNavi
Version 2.93.4
Comparing to
See all releases

Code changes from version 2.93.3 to 2.93.4

Files changed (4) hide show
  1. readme.txt +5 -2
  2. scb/Cron.php +3 -2
  3. scb/Forms.php +2 -2
  4. 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.4
7
- Stable tag: 2.93.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -147,6 +147,9 @@ You can do that like so:
147
  `<?php wp_pagenavi( array( 'options' => PageNavi_Core::$options->get_defaults() ) ); ?>`
148
 
149
  ## Changelog
 
 
 
150
  ### 2.93.3
151
  * FIXED: Update SCB Framework To Remove contextual_help
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.6
7
+ Stable tag: 2.93.4
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.4
151
+ * FIXED: Update SCB Framework To Support PHP 8
152
+
153
  ### 2.93.3
154
  * FIXED: Update SCB Framework To Remove contextual_help
155
 
scb/Cron.php CHANGED
@@ -13,15 +13,16 @@ class scbCron {
13
  /**
14
  * Create a new cron job.
15
  *
16
- * @param string|bool $file (optional) Reference to main plugin file
17
  * @param array $args List of args:
18
  * string $action OR callback $callback
19
  * string $schedule OR number $interval
20
  * array $callback_args (optional)
21
  *
 
 
22
  * @return void
23
  */
24
- public function __construct( $file = false, $args ) {
25
 
26
  // Set time & schedule
27
  if ( isset( $args['time'] ) ) {
13
  /**
14
  * Create a new cron job.
15
  *
 
16
  * @param array $args List of args:
17
  * string $action OR callback $callback
18
  * string $schedule OR number $interval
19
  * array $callback_args (optional)
20
  *
21
+ * @param string|bool $file (optional) Reference to main plugin file
22
+ *
23
  * @return void
24
  */
25
+ public function __construct( $args, $file = false ) {
26
 
27
  // Set time & schedule
28
  if ( isset( $args['time'] ) ) {
scb/Forms.php CHANGED
@@ -57,12 +57,12 @@ class scbForms {
57
  * Generates a form.
58
  *
59
  * @param array $inputs
60
- * @param array $formdata (optional)
61
  * @param string $nonce
 
62
  *
63
  * @return string
64
  */
65
- public static function form( $inputs, $formdata = null, $nonce ) {
66
  $output = '';
67
  foreach ( $inputs as $input ) {
68
  $output .= self::input( $input, $formdata );
57
  * Generates a form.
58
  *
59
  * @param array $inputs
 
60
  * @param string $nonce
61
+ * @param array $formdata (optional)
62
  *
63
  * @return string
64
  */
65
+ public static function form( $inputs, $nonce, $formdata = null ) {
66
  $output = '';
67
  foreach ( $inputs as $input ) {
68
  $output .= self::input( $input, $formdata );
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.3
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.4
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-pagenavi