Skip to content

Commit

Permalink
2.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Stiofan committed Sep 26, 2024
1 parent 5aad15b commit 268e9ae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": ">=5.3.0",
"php": ">=5.6.0",
"ayecode/wp-font-awesome-settings": "^1.0",
"ayecode/wp-super-duper": "^1.0",
"ayecode/wp-ayecode-ui": "^0",
Expand Down
4 changes: 2 additions & 2 deletions includes/admin/register-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ function wpinv_get_pages( $with_slug = false, $default_label = null ) {
// Add sorting
$sql .= " ORDER BY post_title ASC";

// Prepare the SQL query to include the excluded pages
$pages = $wpdb->get_results( $wpdb->prepare( $sql, ...$exclude_pages ) );
// Prepare the SQL query to include the excluded pages only if we have placeholders
$pages = $exclude_pages_placeholders ? $wpdb->get_results( $wpdb->prepare( $sql, ...$exclude_pages ) ) : $wpdb->get_results( $sql );

$pages_options = array();

Expand Down
4 changes: 2 additions & 2 deletions invoicing.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: GetPaid
* Plugin URI: https://wpinvoicing.com/
* Description: A lightweight and VAT compliant payments and invoicing plugin.
* Version: 2.8.13
* Version: 2.8.14
* Author: AyeCode Ltd
* Author URI: https://wpinvoicing.com
* Text Domain: invoicing
Expand All @@ -23,7 +23,7 @@
}

if ( ! defined( 'WPINV_VERSION' ) ) {
define( 'WPINV_VERSION', '2.8.13' );
define( 'WPINV_VERSION', '2.8.14' );
}

// Include the main Invoicing class.
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.ko-fi.com/stiofan
Tags: payments, invoicing, Paypal, Stripe, payment
Requires at least: 4.9
Tested up to: 6.6
Stable tag: 2.8.13
Stable tag: 2.8.14
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -144,6 +144,9 @@ Automatic updates should work seamlessly. To avoid unforeseen problems, we alway

== Changelog ==

= 2.8.14 - 2024-09-26 =
* wpinv_get_pages() using prepare when not needed causes PHP notice - FIXED

= 2.8.13 - 2024-09-16 =
* Authorize.net documentation links updated - CHANGED
* Composer packages updated - UPDATED
Expand Down

0 comments on commit 268e9ae

Please sign in to comment.