Skip to content

Commit

Permalink
Merge pull request #414 from woocommerce/release/1.2.5
Browse files Browse the repository at this point in the history
Release/1.2.5
  • Loading branch information
dkotter authored Feb 26, 2024
2 parents e07dd24 + b117426 commit 1a3661c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
*** Changelog ***

= 1.2.5 - 2024-02-26 =
* Dev - Apply same code style (call static method) within file.
* Dev - Bump WooCommerce "tested up to" version 8.6.
* Dev - Bump WooCommerce minimum supported version to 8.4.
* Fix - Booking Calendar displays incorrect availability for Accommodation Products.
* Fix - Missing product ID when getting check-in time.

= 1.2.4 - 2024-02-05 =
* Dev - Bump PHP "tested up to" version 8.3.
* Dev - Bump WooCommerce "tested up to" version 8.5.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-accommodation-bookings",
"title": "WooCommerce Accommodation Bookings",
"version": "1.2.4",
"version": "1.2.5",
"config": {
"translate": false,
"wp_org_slug": "woocommerce-accommodation-bookings",
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: woocommerce, automattic, woothemes, jshreve, akeda, bor0, jessepe
Tags: woocommerce, bookings, accommodations
Requires at least: 6.3
Tested up to: 6.4
Stable tag: 1.2.4
Stable tag: 1.2.5
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -38,6 +38,13 @@ If the prices shown on the product do not match the prices defined in the dashbo

== Changelog ==

= 1.2.5 - 2024-02-26 =
* Dev - Apply same code style (call static method) within file.
* Dev - Bump WooCommerce "tested up to" version 8.6.
* Dev - Bump WooCommerce minimum supported version to 8.4.
* Fix - Booking Calendar displays incorrect availability for Accommodation Products.
* Fix - Missing product ID when getting check-in time.

= 1.2.4 - 2024-02-05 =
* Dev - Bump PHP "tested up to" version 8.3.
* Dev - Bump WooCommerce "tested up to" version 8.5.
Expand Down
5 changes: 4 additions & 1 deletion tests/e2e/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,10 @@ export async function fillBookingEndDate(page, endDate, click = true) {
'input[name="wc_bookings_field_start_date_to_day"]',
endDate.date
);
if (click) {
if (
click &&
(await page.locator('td.selection-end-date a').first().isVisible())
) {
await page
.locator('td.selection-end-date a')
.first()
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-accommodation-bookings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Accommodation Bookings
* Plugin URI: https://woocommerce.com/products/woocommerce-accommodation-bookings/
* Description: An accommodations add-on for the WooCommerce Bookings extension.
* Version: 1.2.4
* Version: 1.2.5
* Author: WooCommerce
* Author URI: https://woocommerce.com
* Text Domain: woocommerce-accommodation-bookings
Expand All @@ -26,7 +26,7 @@
exit;
}

define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.2.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.2.5' ); // WRCS: DEFINED_VERSION.

require_once 'includes/class-wc-accommodation-bookings-plugin.php';
$wc_accom_plugin = new WC_Accommodation_Bookings_Plugin( __FILE__, WC_ACCOMMODATION_BOOKINGS_VERSION );
Expand Down

0 comments on commit 1a3661c

Please sign in to comment.