Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
Prepares 1.4.0 Release
Browse files Browse the repository at this point in the history
- Updated WordPress & WooCommerce Supported Versions.

- Updated Plugin Development Dependencies

- Added New Ready for Pickup Order Status & Customer Email
- Added Pickup Time Required & Local Pickup Link Capabilities
  • Loading branch information
timnolte committed May 13, 2022
1 parent dfcd084 commit f9a219d
Show file tree
Hide file tree
Showing 15 changed files with 830 additions and 541 deletions.
147 changes: 91 additions & 56 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,76 +1,111 @@
## Changelog ##
# Changelog

### 1.3.13 ###
* Compatibility versions bump.
* Plugin owner/author transition.
## 1.4.0

### 1.3.12 ###
* Fixes Time Zone related pickup delay issue.
### Changed

### 1.3.11 ###
* NPM development dependencies security vulnerability update.
- Updated WordPress & WooCommerce Supported Versions.

### 1.3.10 ###
* Adds check for PHP 7.1+ Date/Time object changes and makes appropriate PHP version specific calls.
### Fixed

### 1.3.9 ###
* Fixes how the starting interval is set, especially during the middle of the current open/close pickup time.
* Sets end time 1 interval past it in order to have the end close pickup time be inclusive for pickup.
* Changes field title and help text for Pickup Days Ahead to be clear that the number does now represent the number of open days inclusive of the current day.
* Updates language files to handle some new dashboard labels and help text.
* Fixes an incorrect use of the pickup time interval instead of the delay, causing incorrect starting pickup time.
* Changes direct WC_Order id attribute access to use get_id() method.
* Fixes additonal issue with how time delay is handled on the first available pickup time.
- Updated Plugin Development Dependencies

### 1.3.8 ###
* Fixes issue with recognizing the current date/time as the start of the pickup time selection.
### Adds

### 1.3.7 ###
* Fixes an issue with not using the WordPress locale and built-in language pack to translate the pickup date output on checkout.
- Added New Ready for Pickup Order Status & Customer Email
- Added Pickup Time Required & Local Pickup Link Capabilities

### 1.3.6 ###
* Fixes WordPress date/time format handling for pickup time selection.
* Fixes issues with some interval combinations.
## 1.3.13

### 1.3.5 ###
* fixes issue with allowing customers to pick a pickup date/time on a non-open day.
- Compatibility versions bump.
- Plugin owner/author transition.

### 1.3.4 ###
* fixes 1.3.3 patch issue.
## 1.3.12

### 1.3.3 ###
* fixes PHP 5.6 issue with DateTime syntax usage.
- Fixes Time Zone related pickup delay issue.

### 1.3.2 ###
* fixes issue with missing space in pickup time options, from 1.3.1.
* adds pickup date/time to Order List in Admin Dashboard.
* adds longer pickup delay option.
## 1.3.11

### 1.3.1 ###
* expands pickup time delay to include 4/8/16/24/36 hours.
* changes days ahead setting to allow any number of days via text input.
* changes customer display of pickup time to include the date using the WordPress date format setting.
* removes closed dates from option list even if it's not today.
- NPM development dependencies security vulnerability update.

### 1.3.0 ###
* fix pickup time for multiple locales and update translations (props vyskoczilova)
## 1.3.10

### 1.2.0 ###
* added option to select the delay from the current time until the order can be picked up
* added option to select the number of days ahead for allowing orders to be picked up
- Adds check for PHP 7.1+ Date/Time object changes and makes appropriate PHP version specific calls.

### 1.1.0 ###
* added `local_pickup_time_select_location` filter to customize location of pickup time select during checkout
* added `local_pickup_time_admin_location` filter to customize location of pickup time shown in the admin Order Details screen
## 1.3.9

### 1.0.3 ###
* replace deprecated call to $order->order_custom_fields, which no longer words in WooCommerce 2.1
- Fixes how the starting interval is set, especially during the middle of the current open/close pickup time.
- Sets end time 1 interval past it in order to have the end close pickup time be inclusive for pickup.
- Changes field title and help text for Pickup Days Ahead to be clear that the number does now represent the number of open days inclusive of the current day.
- Updates language files to handle some new dashboard labels and help text.
- Fixes an incorrect use of the pickup time interval instead of the delay, causing incorrect starting pickup time.
- Changes direct WC_Order id attribute access to use get_id() method.
- Fixes additonal issue with how time delay is handled on the first available pickup time.

### 1.0.2 ###
* fix typos
## 1.3.8

### 1.0.1 ###
* properly set closing time if trying to order after hours
- Fixes issue with recognizing the current date/time as the start of the pickup time selection.

### 1.0.0 ###
* initial version
## 1.3.7

- Fixes an issue with not using the WordPress locale and built-in language pack to translate the pickup date output on checkout.

## 1.3.6

- Fixes WordPress date/time format handling for pickup time selection.
- Fixes issues with some interval combinations.

## 1.3.5

- fixes issue with allowing customers to pick a pickup date/time on a non-open day.

## 1.3.4

- fixes 1.3.3 patch issue.

## 1.3.3

- fixes PHP 5.6 issue with DateTime syntax usage.

## 1.3.2

- fixes issue with missing space in pickup time options, from 1.3.1.
- adds pickup date/time to Order List in Admin Dashboard.
- adds longer pickup delay option.

## 1.3.1

- expands pickup time delay to include 4/8/16/24/36 hours.
- changes days ahead setting to allow any number of days via text input.
- changes customer display of pickup time to include the date using the WordPress date format setting.
- removes closed dates from option list even if it's not today.

## 1.3.0

- fix pickup time for multiple locales and update translations (props vyskoczilova)

## 1.2.0

- added option to select the delay from the current time until the order can be picked up
- added option to select the number of days ahead for allowing orders to be picked up

## 1.1.0

- added `local_pickup_time_select_location` filter to customize location of pickup time select during checkout
- added `local_pickup_time_admin_location` filter to customize location of pickup time shown in the admin Order Details screen

## 1.0.3

- replace deprecated call to $order->order_custom_fields, which no longer words in WooCommerce 2.1

## 1.0.2

- fix typos

## 1.0.1

- properly set closing time if trying to order after hours

## 1.0.0

- initial version
84 changes: 12 additions & 72 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Donate link:** https://www.ndigitals.com/donate/
**Tags:** woocommcerce, shipping, local pickup, checkout fields, ecommerce, e-commerce, wordpress ecommerce
**Requires at least:** 4.9
**Tested up to:** 5.7.4
**Stable tag:** 1.3.13
**Tested up to:** 5.9.3
**Stable tag:** 1.4.0
**Requires PHP:** 7.2
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -73,77 +73,17 @@ The location, by default, is hooked to `woocommerce_admin_order_data_after_billi

## Changelog ##

### 1.3.13 ###
* Compatibility versions bump.
* Plugin owner/author transition.
### 1.4.0
#### Changed
- Updated WordPress & WooCommerce Supported Versions.

### 1.3.12 ###
* Fixes Time Zone related pickup delay issue.
#### Fixed
- Updated Plugin Development Dependencies

### 1.3.11 ###
* NPM development dependencies security vulnerability update.
#### Adds
- Added New Ready for Pickup Order Status & Customer Email
- Added Pickup Time Required & Local Pickup Link Capabilities

### 1.3.10 ###
* Adds check for PHP 7.1+ Date/Time object changes and makes appropriate PHP version specific calls.
--------

### 1.3.9 ###
* Fixes how the starting interval is set, especially during the middle of the current open/close pickup time.
* Sets end time 1 interval past it in order to have the end close pickup time be inclusive for pickup.
* Changes field title and help text for Pickup Days Ahead to be clear that the number does now represent the number of open days inclusive of the current day.
* Updates language files to handle some new dashboard labels and help text.
* Fixes an incorrect use of the pickup time interval instead of the delay, causing incorrect starting pickup time.
* Changes direct WC_Order id attribute access to use get_id() method.
* Fixes additonal issue with how time delay is handled on the first available pickup time.

### 1.3.8 ###
* Fixes issue with recognizing the current date/time as the start of the pickup time selection.

### 1.3.7 ###
* Fixes an issue with not using the WordPress locale and built-in language pack to translate the pickup date output on checkout.

### 1.3.6 ###
* Fixes WordPress date/time format handling for pickup time selection.
* Fixes issues with some interval combinations.

### 1.3.5 ###
* fixes issue with allowing customers to pick a pickup date/time on a non-open day.

### 1.3.4 ###
* fixes 1.3.3 patch issue.

### 1.3.3 ###
* fixes PHP 5.6 issue with DateTime syntax usage.

### 1.3.2 ###
* fixes issue with missing space in pickup time options, from 1.3.1.
* adds pickup date/time to Order List in Admin Dashboard.
* adds longer pickup delay option.

### 1.3.1 ###
* expands pickup time delay to include 4/8/16/24/36 hours.
* changes days ahead setting to allow any number of days via text input.
* changes customer display of pickup time to include the date using the WordPress date format setting.
* removes closed dates from option list even if it's not today.

### 1.3.0 ###
* fix pickup time for multiple locales and update translations (props vyskoczilova)

### 1.2.0 ###
* added option to select the delay from the current time until the order can be picked up
* added option to select the number of days ahead for allowing orders to be picked up

### 1.1.0 ###
* added `local_pickup_time_select_location` filter to customize location of pickup time select during checkout
* added `local_pickup_time_admin_location` filter to customize location of pickup time shown in the admin Order Details screen

### 1.0.3 ###
* replace deprecated call to $order->order_custom_fields, which no longer words in WooCommerce 2.1

### 1.0.2 ###
* fix typos

### 1.0.1 ###
* properly set closing time if trying to order after hours

### 1.0.0 ###
* initial version
[See the previous changelogs here](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/blob/main/CHANGELOG.md#changelog)
20 changes: 10 additions & 10 deletions admin/class-local-pickup-time-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static function get_instance() {
*
* @link https://developer.wordpress.org/reference/hooks/plugin_action_links_plugin_file/
*
* @since 0.0.0
* @since 1.4.0
*
* @param string[] $actions The plugin action links.
*
Expand All @@ -130,7 +130,7 @@ public function plugin_action_links( $actions ) {
*
* @link https://woocommerce.com/document/adding-a-section-to-a-settings-tab/
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<string> $sections The array of Settings screen sections.
*
Expand Down Expand Up @@ -430,7 +430,7 @@ public function plugin_settings( $settings, $current_section ) {
/**
* Optionally adds the Local Pickup Time enabling option to a Local Pickup Shipping method.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<mixed[]> $shipping_methods An array of WC_Shipping methods.
*
Expand All @@ -453,7 +453,7 @@ public function shipping_methods_settings_override( $shipping_methods ) {
/**
* Adds a Local Pickup Time flag to a shipping method.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<mixed[]> $fields The array of settings fields.
*
Expand All @@ -478,7 +478,7 @@ public function shipping_instance_form_add_extra_fields( $fields ) {
/**
* Support processing the Local Pickup Time enabled option on Local Pickup shipping instances.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<mixed[]> $args The shipping method arguments.
* @param WC_Shipping_Method $shipping_method The WC_Shipping_Method instance object.
Expand All @@ -498,7 +498,7 @@ public function shipping_method_add_rate_pickup_time_args( $args, $shipping_meth
/**
* Add a post status for Ready for Pickup for WooCommerce.
*
* @since 0.0.0
* @since 1.4.0
*
* @return void
*/
Expand All @@ -520,7 +520,7 @@ public function register_post_status() {
/**
* Add a Ready for Pickup Order Status to WooCommerce.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<string> $order_statuses The array of WooCommerce Order Statuses.
*
Expand All @@ -537,7 +537,7 @@ public function wc_order_statuses( $order_statuses ) {
/**
* Add a bulk order action to change statuses to Ready for Pickup.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<string> $actions The array of bulk order actions from the Order listing.
*
Expand All @@ -554,7 +554,7 @@ public function add_bulk_actions_edit_shop_order( $actions ) {
/**
* Add a Ready for Pickup Order Status email action to WooCommerce..
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<string> $email_actions The array of transactional emails in WooCommerce.
*
Expand All @@ -571,7 +571,7 @@ public function woocommerce_email_actions( $email_actions ) {
/**
* Add a Ready for Pickup Order Status email class to WooCommerce.
*
* @since 0.0.0
* @since 1.4.0
*
* @param array<mixed> $email_classes The array of email class files.
*
Expand Down
Loading

0 comments on commit f9a219d

Please sign in to comment.