Skip to content

Commit 3745582

Browse files
author
Woo
committed
Updates to 1.8.6
1 parent 3d54115 commit 3745582

File tree

681 files changed

+734
-717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

681 files changed

+734
-717
lines changed

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
*** Xero Integration ***
22

3+
2024-05-20 - version 1.8.6
4+
* Dev - Bump WooCommerce "tested up to" version 8.9.
5+
* Dev - Bump WooCommerce minimum supported version to 8.7.
6+
* Update - Link to the WooCommerce log section instead of to the local file path.
7+
38
2024-03-25 - version 1.8.5
49
* Add - Filters to adjust supported countries for Report Tax Type.
510
* Add - Support for US, South Africa, and Malta as Report Tax Type.

includes/class-wc-xr-settings.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,16 @@ public function __construct( $override = null ) {
253253
'title' => __( 'Debug', 'woocommerce-xero' ),
254254
'default' => 'off',
255255
'type' => 'checkbox',
256-
'description' => __( 'Enable logging. Log file is located at: /wc-logs/. <br> <strong>Note: this may log personal information. We recommend using this for debugging purposes only and deleting the logs when finished.</strong>', 'woocommerce-xero' ),
256+
'description' => sprintf(
257+
// translators: %1$s - opening HTML <a> link tag, %2$s - closing HTML </a> link tag, line break and opening HTML <strong> tag %3$s - closing HTML </strong> tag.
258+
__(
259+
'Log debug messages to the %1$sWooCommerce status log%2$s Note: this may log personal information. We recommend using this for debugging purposes only and deleting the logs when finished.%3$s',
260+
'woocommerce-xero'
261+
),
262+
'<a href="' . esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ) . '">',
263+
'</a><br><strong>',
264+
'</strong>'
265+
),
257266
),
258267
)
259268
);

languages/woocommerce-xero.pot

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the same license as the WooCommerce Xero Integration package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WooCommerce Xero Integration 1.8.5\n"
5+
"Project-Id-Version: WooCommerce Xero Integration 1.8.6\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-xero\n"
7-
"POT-Creation-Date: 2024-03-25 13:39:22+00:00\n"
7+
"POT-Creation-Date: 2024-05-20 14:07:31+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -137,8 +137,8 @@ msgstr ""
137137
msgid "HTTPS for WordPress page"
138138
msgstr ""
139139

140-
#: includes/class-wc-xr-privacy.php:22 includes/class-wc-xr-settings.php:591
141-
#: includes/class-wc-xr-settings.php:592 includes/class-wc-xr-settings.php:623
140+
#: includes/class-wc-xr-privacy.php:22 includes/class-wc-xr-settings.php:600
141+
#: includes/class-wc-xr-settings.php:601 includes/class-wc-xr-settings.php:632
142142
msgid "Xero"
143143
msgstr ""
144144

@@ -429,76 +429,79 @@ msgstr ""
429429
msgid "Debug"
430430
msgstr ""
431431

432-
#: includes/class-wc-xr-settings.php:256
432+
#: includes/class-wc-xr-settings.php:258
433+
#. translators: %1$s - opening HTML <a> link tag, %2$s - closing HTML </a> link
434+
#. tag, line break and opening HTML <strong> tag %3$s - closing HTML </strong>
435+
#. tag.
433436
msgid ""
434-
"Enable logging. Log file is located at: /wc-logs/. <br> <strong>Note: this "
435-
"may log personal information. We recommend using this for debugging "
436-
"purposes only and deleting the logs when finished.</strong>"
437+
"Log debug messages to the %1$sWooCommerce status log%2$s Note: this may log "
438+
"personal information. We recommend using this for debugging purposes only "
439+
"and deleting the logs when finished.%3$s"
437440
msgstr ""
438441

439-
#: includes/class-wc-xr-settings.php:378
442+
#: includes/class-wc-xr-settings.php:387
440443
msgid "Using %1$s uploaded at %2$s"
441444
msgstr ""
442445

443-
#: includes/class-wc-xr-settings.php:433
446+
#: includes/class-wc-xr-settings.php:442
444447
msgid "Nonce verification failed!"
445448
msgstr ""
446449

447-
#: includes/class-wc-xr-settings.php:510
450+
#: includes/class-wc-xr-settings.php:519
448451
msgid "Xero Settings"
449452
msgstr ""
450453

451-
#: includes/class-wc-xr-settings.php:645 includes/class-wc-xr-settings.php:646
452-
#: includes/class-wc-xr-settings.php:676 includes/class-wc-xr-settings.php:685
453-
#: includes/class-wc-xr-settings.php:708
454+
#: includes/class-wc-xr-settings.php:654 includes/class-wc-xr-settings.php:655
455+
#: includes/class-wc-xr-settings.php:685 includes/class-wc-xr-settings.php:694
456+
#: includes/class-wc-xr-settings.php:717
454457
msgid "Xero OAuth"
455458
msgstr ""
456459

457-
#: includes/class-wc-xr-settings.php:728
460+
#: includes/class-wc-xr-settings.php:737
458461
msgid "Xero for WooCommerce"
459462
msgstr ""
460463

461-
#: includes/class-wc-xr-settings.php:732
464+
#: includes/class-wc-xr-settings.php:741
462465
msgid "Your settings have been saved."
463466
msgstr ""
464467

465-
#: includes/class-wc-xr-settings.php:745
468+
#: includes/class-wc-xr-settings.php:754
466469
msgid "Missing required fields"
467470
msgstr ""
468471

469-
#: includes/class-wc-xr-settings.php:751
472+
#: includes/class-wc-xr-settings.php:760
470473
msgid "There was an error saving your settings."
471474
msgstr ""
472475

473-
#: includes/class-wc-xr-settings.php:768
476+
#: includes/class-wc-xr-settings.php:777
474477
msgid ""
475478
"Settings for your Xero account including security keys and default account "
476479
"numbers."
477480
msgstr ""
478481

479-
#: includes/class-wc-xr-settings.php:771
482+
#: includes/class-wc-xr-settings.php:780
480483
#. translators: %1$s: opening anchor tag; %2$s: closing anchor tag
481484
msgid "Please ensure you're following all %1$srequirements%2$s prior to setup."
482485
msgstr ""
483486

484-
#: includes/class-wc-xr-settings.php:774
487+
#: includes/class-wc-xr-settings.php:783
485488
#. translators: %1$s: opening strong tag; %2$s: closing strong tag
486489
msgid "%1$sAll%2$s text fields are required for the integration to work properly."
487490
msgstr ""
488491

489-
#: includes/class-wc-xr-settings.php:798
492+
#: includes/class-wc-xr-settings.php:807
490493
msgid "Key not set"
491494
msgstr ""
492495

493-
#: includes/class-wc-xr-settings.php:836
496+
#: includes/class-wc-xr-settings.php:845
494497
msgid "Disconnect from Xero"
495498
msgstr ""
496499

497-
#: includes/class-wc-xr-settings.php:844
500+
#: includes/class-wc-xr-settings.php:853
498501
msgid "Sign in with Xero"
499502
msgstr ""
500503

501-
#: includes/class-wc-xr-settings.php:849
504+
#: includes/class-wc-xr-settings.php:858
502505
#. translators: %1$s: line break tag; %2$s: opening anchor tag; %3$s: closing
503506
#. anchor tag;
504507
msgid ""
@@ -507,53 +510,53 @@ msgid ""
507510
"%2$srequirements%3$s prior to setup."
508511
msgstr ""
509512

510-
#: includes/class-wc-xr-settings.php:885
513+
#: includes/class-wc-xr-settings.php:894
511514
msgid ""
512515
"Please use the following url as your redirect url when creating a Xero "
513516
"application:"
514517
msgstr ""
515518

516-
#: includes/class-wc-xr-settings.php:1044
519+
#: includes/class-wc-xr-settings.php:1053
517520
msgid ""
518521
"Xero has securely saved the contents of key file %s to the database and no "
519522
"longer requires it."
520523
msgstr ""
521524

522-
#: includes/class-wc-xr-settings.php:1047
525+
#: includes/class-wc-xr-settings.php:1056
523526
msgid "Delete %s"
524527
msgstr ""
525528

526-
#: includes/class-wc-xr-settings.php:1062
529+
#: includes/class-wc-xr-settings.php:1071
527530
msgid "Xero could not delete %s. Check permissions and try again."
528531
msgstr ""
529532

530-
#: includes/class-wc-xr-settings.php:1070
533+
#: includes/class-wc-xr-settings.php:1079
531534
msgid "Xero successfully deleted %s."
532535
msgstr ""
533536

534-
#: includes/class-wc-xr-settings.php:1092
537+
#: includes/class-wc-xr-settings.php:1101
535538
msgid ""
536539
"Xero authentication using keys is in the process of being deprecated and "
537540
"new private apps can no longer be created."
538541
msgstr ""
539542

540-
#: includes/class-wc-xr-settings.php:1093
543+
#: includes/class-wc-xr-settings.php:1102
541544
msgid ""
542545
"Please use new flow and the button available in Xero settings to authorize "
543546
"your application."
544547
msgstr ""
545548

546-
#: includes/class-wc-xr-settings.php:1095
549+
#: includes/class-wc-xr-settings.php:1104
547550
msgid "Go to Xero settings page"
548551
msgstr ""
549552

550-
#: includes/class-wc-xr-settings.php:1112
553+
#: includes/class-wc-xr-settings.php:1121
551554
msgid ""
552555
"Unable to fetch the Branding Theme details. Please ensure your Xero "
553556
"connection is properly authenticated."
554557
msgstr ""
555558

556-
#: includes/class-wc-xr-settings.php:1132
559+
#: includes/class-wc-xr-settings.php:1141
557560
msgid ""
558561
"Xero account was disconnected because authentication keys were changed. "
559562
"Please connect again."

lib/packages/firebase/php-jwt/src/BeforeValidException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/CachedKeySet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/ExpiredException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/JWK.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/JWT.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

lib/packages/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88
namespace Automattic\WooCommerce\Xero\Vendor\Firebase\JWT;

lib/packages/firebase/php-jwt/src/Key.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @license BSD-3-Clause
44
*
5-
* Modified by woocommerce on 25-March-2024 using Strauss.
5+
* Modified by woocommerce on 20-May-2024 using Strauss.
66
* @see https://github.com/BrianHenryIE/strauss
77
*/
88

0 commit comments

Comments
 (0)