Skip to content

Commit babdb26

Browse files
committedJan 10, 2025·
Merge branch 'release/1.3.0' into develop
2 parents 07b55bb + a972049 commit babdb26

13 files changed

+71
-56
lines changed
 

‎README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
**Contributors:** [tareq1988](https://profiles.wordpress.org/tareq1988), [wedevs](https://profiles.wordpress.org/wedevs), [nizamuddinbabu](https://profiles.wordpress.org/nizamuddinbabu)
33
**Donate Link:** http://tareq.co/donate/
44
**Tags:** WooCommerce POS, point of sale, free pos, pos plugin, woocommerce point of sale
5-
**Requires at least:** 5.4
6-
**Tested up to:** 6.5.3
7-
**WC requires at least:** 5.0.0
8-
**WC tested up to:** 8.9.2
5+
**Requires at least:** 6.5
6+
**Tested up to:** 6.7.1
7+
**WC requires at least:** 8.0.0
8+
**WC tested up to:** 9.5.2
99
**Requires PHP:** 7.4
10-
**Stable tag:** 1.2.8
10+
**Stable tag:** 1.3.0
1111
**License:** GPLv2 or later
1212
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
1313

@@ -60,6 +60,11 @@ No FAQ
6060

6161
## Changelog ##
6262

63+
### v1.3.0 -> 10 January, 2025 ###
64+
- **Fix:** POS discount coupons were accessible from single order page on admin dashboard
65+
- **Compatibility:** Compatibility for WordPress 6.7
66+
- **Chore:** Update Appsero client for WP 6.7 compatibility
67+
6368
### v1.2.8 -> 05 June, 2024 ###
6469
- **Feature:** WooCommerce Coupon API integration for cart discount
6570
- **Enhancement:** Added support for WooCommerce customised order numbers by third-party plugins
@@ -228,4 +233,5 @@ No FAQ
228233
Initial version released
229234

230235
## Upgrade Notice ##
231-
No upgrade notice
236+
### v1.3.0 ###
237+
- If you have **wePos Pro** installed, please ensure it is updated to **version 1.2.1 or later** before upgrading to this version.

‎assets/js/bootstrap.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎assets/js/bootstrap.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎includes/Admin/Discounts.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* For managing coupons on admin panel.
1313
*
14-
* @since WEPOS_SINCE
14+
* @since 1.3.0
1515
*
1616
* @package wepos
1717
*/
@@ -20,7 +20,7 @@ class Discounts {
2020
/**
2121
* Discount Type Key.
2222
*
23-
* @since WEPOS_SINCE
23+
* @since 1.3.0
2424
*
2525
* @var string
2626
*/
@@ -29,7 +29,7 @@ class Discounts {
2929
/**
3030
* Class Constructor.
3131
*
32-
* @since WEPOS_SINCE
32+
* @since 1.3.0
3333
*/
3434
public function __construct() {
3535
add_action( 'load-edit.php', [ $this, 'hide_discount_coupons' ] );
@@ -40,7 +40,7 @@ public function __construct() {
4040
/**
4141
* Hide Discount Coupons from Admin Coupon List Table.
4242
*
43-
* @since WEPOS_SINCE
43+
* @since 1.3.0
4444
*
4545
* @return void
4646
*/
@@ -93,7 +93,7 @@ function ( $counts ) {
9393
/**
9494
* Get Discount Coupons.
9595
*
96-
* @since WEPOS_SINCE
96+
* @since 1.3.0
9797
*
9898
* @return int[]
9999
*/
@@ -121,7 +121,7 @@ private function get_discount_coupons(): array {
121121
/**
122122
* Remove Discount Coupons.
123123
*
124-
* @since WEPOS_SINCE
124+
* @since 1.3.0
125125
*
126126
* @return void
127127
*/
@@ -137,7 +137,7 @@ public function remove_discount_coupons() {
137137
/**
138138
* Remove Discount Coupon URL from Order Item.
139139
*
140-
* @since WEPOS_SINCE
140+
* @since 1.3.0
141141
*
142142
* @param string $url Coupon URL
143143
* @param \WC_Order_Item_Coupon $item Order Coupon Item

‎includes/Admin/Updates/upgrade-1.2.8.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Run Updates to Schedule Cron Jobs.
55
*
6-
* @since WEPOS_SINCE
6+
* @since 1.3.0
77
*
88
* @return void
99
*/

‎includes/Installer.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Installer Class.
99
*
10-
* @since WEPOS_SINCE
10+
* @since 1.3.0
1111
*
1212
* @package wepos
1313
*/
@@ -16,7 +16,7 @@ class Installer {
1616
/**
1717
* Run The Installer.
1818
*
19-
* @since WEPOS_SINCE
19+
* @since 1.3.0
2020
*
2121
* @return void
2222
*/
@@ -30,7 +30,7 @@ public function run() {
3030
/**
3131
* Add Version Info.
3232
*
33-
* @since WEPOS_SINCE
33+
* @since 1.3.0
3434
*
3535
* @return void
3636
*/
@@ -47,7 +47,7 @@ private function add_version_info() {
4747
/**
4848
* Add User Roles.
4949
*
50-
* @since WEPOS_SINCE
50+
* @since 1.3.0
5151
*
5252
* @return void
5353
*/
@@ -70,7 +70,7 @@ private function add_user_roles() {
7070
/**
7171
* Flush Rewrites.
7272
*
73-
* @since WEPOS_SINCE
73+
* @since 1.3.0
7474
*
7575
* @return void
7676
*/
@@ -81,7 +81,7 @@ private function flush_rewrites() {
8181
/**
8282
* Schedule Cron Jobs.
8383
*
84-
* @since WEPOS_SINCE
84+
* @since 1.3.0
8585
*
8686
* @return void
8787
*/

‎includes/REST/CouponController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Coupon API Controller.
77
*
8-
* @since WEPOS_SINCE
8+
* @since 1.3.0
99
*
1010
* @package wepos
1111
*/
@@ -28,7 +28,7 @@ class CouponController extends \WC_REST_Coupons_Controller {
2828
/**
2929
* Create Item Permission Checking.
3030
*
31-
* @since WEPOS_SINCE
31+
* @since 1.3.0
3232
*
3333
* @param \WP_REST_Request $request
3434
*

‎includes/functions.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function wepos_get_product_price( $product ) {
288288
/**
289289
* Function current_datetime() compatibility for wp version < 5.3
290290
*
291-
* @since WEPOS_SINCE
291+
* @since 1.3.0
292292
*
293293
* @return DateTimeImmutable
294294
*/
@@ -303,7 +303,7 @@ function wepos_current_datetime() {
303303
/**
304304
* Function wp_timezone() compatibility for wp version < 5.3
305305
*
306-
* @since WEPOS_SINCE
306+
* @since 1.3.0
307307
*
308308
* @return DateTimeZone
309309
*/
@@ -318,7 +318,7 @@ function wepos_wp_timezone() {
318318
/**
319319
* Function wp_timezone_string() compatibility for wp version < 5.3
320320
*
321-
* @since WEPOS_SINCE
321+
* @since 1.3.0
322322
*
323323
* @return string
324324
*/

‎languages/wepos.pot

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Copyright (C) 2024 weDevs
1+
# Copyright (C) 2025 weDevs
22
# This file is distributed under the GPL2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.2.8\n"
5+
"Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.3.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wepos\n"
7-
"POT-Creation-Date: 2024-06-05 10:56:15+00:00\n"
7+
"POT-Creation-Date: 2025-01-10 08:56:18+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
11-
"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n"
11+
"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"
1414
"X-Generator: wp-vue-i18n 1.1.4\n"
@@ -234,7 +234,7 @@ msgstr ""
234234
#: assets/src/frontend/components/Home.vue:327
235235
#: assets/src/frontend/components/Home.vue:488
236236
#: assets/src/frontend/components/Home.vue:501
237-
#: assets/src/frontend/components/Home.vue:985
237+
#: assets/src/frontend/components/Home.vue:987
238238
#: assets/src/frontend/components/PrintReceiptHtml.vue:45
239239
msgid "Discount"
240240
msgstr ""
@@ -269,7 +269,7 @@ msgstr ""
269269
#: assets/src/frontend/components/Home.vue:328
270270
#: assets/src/frontend/components/Home.vue:492
271271
#: assets/src/frontend/components/Home.vue:505
272-
#: assets/src/frontend/components/Home.vue:1007
272+
#: assets/src/frontend/components/Home.vue:1009
273273
#: assets/src/frontend/components/PrintReceiptHtml.vue:49
274274
msgid "Fee"
275275
msgstr ""
@@ -391,16 +391,16 @@ msgid "Change money"
391391
msgstr ""
392392

393393
#: assets/src/frontend/components/Home.vue:751
394-
#: assets/src/frontend/components/Home.vue:1182
395-
#: assets/src/frontend/components/Home.vue:1210
394+
#: assets/src/frontend/components/Home.vue:1184
395+
#: assets/src/frontend/components/Home.vue:1212
396396
msgid "All categories"
397397
msgstr ""
398398

399-
#: assets/src/frontend/components/Home.vue:1105
399+
#: assets/src/frontend/components/Home.vue:1107
400400
msgid "This product is out of stock."
401401
msgstr ""
402402

403-
#: assets/src/frontend/components/Home.vue:1121
403+
#: assets/src/frontend/components/Home.vue:1123
404404
msgid "Product is out of stock!"
405405
msgstr ""
406406

@@ -444,6 +444,10 @@ msgstr ""
444444
msgid "Confirm"
445445
msgstr ""
446446

447+
#: dependencies/Appsero/Insights.php:725
448+
msgid "Once Weekly"
449+
msgstr ""
450+
447451
#: includes/Admin/Admin.php:27
448452
msgid "WePOS"
449453
msgstr ""

‎package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wepos",
3-
"version": "1.2.8",
3+
"version": "1.3.0",
44
"description": "Point of Sale plugin for WooCommerce",
55
"author": "weDevs <info@wedevs.com>",
66
"license": "GPLv2",

‎readme.txt

+12-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Contributors: tareq1988, wedevs, nizamuddinbabu
33
Donate Link: http://tareq.co/donate/
44
Tags: WooCommerce POS, point of sale, free pos, pos plugin, woocommerce point of sale
5-
Requires at least: 5.4
6-
Tested up to: 6.5.3
7-
WC requires at least: 5.0.0
8-
WC tested up to: 8.9.2
5+
Requires at least: 6.5
6+
Tested up to: 6.7.1
7+
WC requires at least: 8.0.0
8+
WC tested up to: 9.5.2
99
Requires PHP: 7.4
10-
Stable tag: 1.2.8
10+
Stable tag: 1.3.0
1111
License: GPLv2 or later
1212
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1313

@@ -60,8 +60,12 @@ No FAQ
6060

6161
== Changelog ==
6262

63+
= v1.3.0 -> 10th January, 2025 =
64+
- **Fix:** POS discount coupons were accessible from single order page on admin dashboard
65+
- **Compatibility:** Compatibility for WordPress 6.7
66+
- **Chore:** Update Appsero client for WP 6.7 compatibility
67+
6368
= v1.2.8 -> 5th June, 2024 =
64-
-----------------------------
6569
- **Feature:** WooCommerce Coupon API integration for cart discount
6670
- **Enhancement:** Added support for WooCommerce customised order numbers by third-party plugins
6771
- **Fix:** Blurry numbers on print receipt
@@ -253,4 +257,5 @@ No FAQ
253257
Initial version released
254258

255259
== Upgrade Notice ==
256-
No upgrade notice
260+
= 1.3.0 =
261+
If you have wePos Pro installed, please ensure it is updated to version 1.2.1 or later before upgrading to this version.

‎wepos.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
Plugin Name: wePOS - Point Of Sale (POS) for WooCommerce
44
Plugin URI: https://wedevs.com/wepos
55
Description: A beautiful and fast Point of Sale (POS) system for WooCommerce
6-
Version: 1.2.8
6+
Version: 1.3.0
77
Author: weDevs
88
Author URI: https://wedevs.com/
99
Text Domain: wepos
1010
Domain Path: /languages
11-
WC requires at least: 5.0.0
12-
WC tested up to: 8.9.2
11+
WC requires at least: 8.0.0
12+
WC tested up to: 9.5.2
1313
License: GPL2
1414
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1515
*/
@@ -57,7 +57,7 @@ final class WePOS {
5757
*
5858
* @var string
5959
*/
60-
public $version = '1.2.8';
60+
public $version = '1.3.0';
6161

6262
/**
6363
* Holds various class instances

0 commit comments

Comments
 (0)
Please sign in to comment.