Skip to content

Commit c08d0a3

Browse files
authored
Merge pull request #416 from TycheSoftwares/version-change-5.4.0
version change to 5.4.0
2 parents 8682a38 + 0e2c779 commit c08d0a3

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

includes/class-wcdn-print.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ private function populate_orders() {
605605
$redirect_url = home_url();
606606
}
607607
if ( isset( $_GET['need_login_message'] ) && $_GET['need_login_message'] === 'true' ) { // phpcs:ignore
608-
echo '<div class="notice notice-info"><p>' . __( 'You need to be logged in to access this page. Please log in first.' ) . '</p></div>'; // phpcs:ignore
608+
echo '<div class="notice notice-info"><p>' . __( 'You need to be logged into your account to access the Invoice. Please login first.' ) . '</p></div>'; // phpcs:ignore
609609
// Display a confirmation button to redirect the user to the login page.
610610
echo '<a href="' . wp_login_url( $redirect_url ) . '" class="button">Proceed to Login</a>'; // phpcs:ignore
611611
exit;

includes/class-woocommerce-delivery-notes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ final class WooCommerce_Delivery_Notes {
3636
*
3737
* @var string $plugin_version Current plugin version number
3838
*/
39-
public static $plugin_version = '5.3.0';
39+
public static $plugin_version = '5.4.0';
4040

4141
/**
4242
* Plugin URL on current installation

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Tags: packing slips, invoice, pdf invoice, delivery notes, woocommerce print inv
66
Requires at least: 4.4
77
Tested up to: 6.7.1
88
Author URI: https://www.tychesoftwares.com/
9-
Stable tag: 5.3.0
9+
Stable tag: 5.4.0
1010
License: GPLv3 or later
1111
License URI: http://www.opensource.org/licenses/gpl-license.php
1212

@@ -352,6 +352,10 @@ This plugin communicates with our tracking server to send usage data **only** if
352352

353353
== Changelog ==
354354

355+
= 5.4.0 - (05.12.2024) =
356+
* Fix- Resolved an issue preventing guest users from viewing the invoice via the Print button on the order received page and the print link in the order email.
357+
* Fix- Added a notice for logged-out users to log in when attempting to access invoices via a direct link or Print link in the order email.
358+
355359
= 5.3.0 - (21.11.2024) =
356360
* Fix - Anyone could view customer invoices by simply visiting the URL in the format sent in the email.
357361
* Fix - PHP Notice: Trying to access array offset on value of type bool.

woocommerce-delivery-notes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
* Plugin Name: Print Invoice & Delivery Notes for WooCommerce
66
* Plugin URI: https://www.tychesoftwares.com/
77
* Description: Print Invoices & Delivery Notes for WooCommerce Orders.
8-
* Version: 5.3.0
8+
* Version: 5.4.0
99
* Author: Tyche Softwares
1010
* Author URI: https://www.tychesoftwares.com/
1111
* License: GPLv3 or later
1212
* License URI: http://www.opensource.org/licenses/gpl-license.php
1313
* Text Domain: woocommerce-delivery-notes
1414
* Domain Path: /languages
15-
* WC tested up to: 9.4.1
15+
* WC tested up to: 9.4.3
1616
* Tested up to: 6.7.1
1717
* WC requires at least: 5.0.0
1818
* Requires PHP: 7.4

0 commit comments

Comments
 (0)