Skip to content

Commit 3f9f71a

Browse files
authored
1.2.1
= 1.2.1, Aug 22 2025 = * Improved compatibility with WordPress 6.8, addressing the _load_textdomain_just_in_time notice.
1 parent 4720359 commit 3f9f71a

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

languages/mphb-elementor.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Copyright (C) 2024 MotoPress
1+
# Copyright (C) 2025 MotoPress
22
# This file is distributed under the GPLv2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Hotel Booking & Elementor Integration 1.2.0\n"
5+
"Project-Id-Version: Hotel Booking & Elementor Integration 1.2.1\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mphb-elementor\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-01-08T15:29:54+03:00\n"
12+
"POT-Creation-Date: 2025-08-12T15:49:39+03:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"X-Generator: WP-CLI 2.9.0\n"
14+
"X-Generator: WP-CLI 2.5.0\n"
1515
"X-Domain: mphb-elementor\n"
1616

1717
#. Plugin Name of the plugin

mphb-elementor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Hotel Booking & Elementor Integration
55
* Plugin URI: https://motopress.com/products/hotel-booking-elementor-integration/
66
* Description: Manage hotel booking shortcodes in Elementor builder.
7-
* Version: 1.2.0
7+
* Version: 1.2.1
88
* Author: MotoPress
99
* Author URI: https://motopress.com/
1010
* License: GPLv2 or later

plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ class MPHBElementor {
1414

1515
private function __construct() {
1616

17-
add_action( 'plugins_loaded', array( $this, 'loadTextdomain' ) );
18-
1917
// Check if the MotoPress Hotel Booking is active
2018
if ( ! class_exists( 'HotelBookingPlugin' ) ) {
2119
return;
@@ -31,6 +29,8 @@ private function __construct() {
3129
return;
3230
}
3331

32+
add_action( 'init', array( $this, 'loadTextdomain' ), -1 );
33+
3434
add_filter( 'elementor/elements/categories_registered', array( $this, 'registerCategories' ), 10, 1 );
3535
add_filter( 'elementor/widgets/register', array( $this, 'registerWidgets' ), 10, 1 );
3636

readme.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Contributors: MotoPress
33
Donate link: https://motopress.com/
44
Tags: hotel, booking, reservation, elementor, hotel booking, booking form
55
Requires at least: 4.6
6-
Tested up to: 6.7
6+
Tested up to: 6.8
77
Requires PHP: 5.6
8-
Stable tag: 1.2.0
8+
Stable tag: 1.2.1
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -83,6 +83,8 @@ Book your productivity on Elementor with these awesome tools.
8383
* Stratum [Elementor Widgets](https://wordpress.org/plugins/stratum/): add 20+ powerful and creative Elementor widgets to your site building toolkit.
8484
* Stratum [Elementor Mega Menu](https://motopress.com/products/stratum-menu/?utm_source=wp-org&utm_medium=textlink&utm_campaign=hotel-booking-elementor-integration): build content-rich navigation menus in Elementor.
8585

86+
It's brought to you by MotoPress – a trusted WordPress developer with more than 10 years of experience in creating WordPress tools for content building, including our popular [WordPress Booking Plugins](https://motopress.com/products/category/wordpress-booking-plugins/?utm_source=wp-org&utm_medium=textlink&utm_campaign=hotel-booking-elementor-integration).
87+
8688
== Installation ==
8789

8890
1. Upload the MotoPress plugin to the /wp-content/plugins/ directory.
@@ -109,6 +111,9 @@ MotoPress Hotel Booking & Elementor Integration plugin is distributed under the
109111

110112
== Changelog ==
111113

114+
= 1.2.1, Aug 22 2025 =
115+
* Improved compatibility with WordPress 6.8, addressing the _load_textdomain_just_in_time notice.
116+
112117
= 1.2.0, Jan 08 2024 =
113118
* Added Accommodation Type Title widget.
114119
* Added Accommodation Type Featured Image widget.

0 commit comments

Comments
 (0)