Plugin Directory

Changeset 3450050


Ignore:
Timestamp:
01/29/2026 10:39:33 PM (2 months ago)
Author:
benitolopez
Message:

Releasing version 2.18.1

Location:
wp-hotelier/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-hotelier/trunk/hotelier.php

    r3448825 r3450050  
    44 * Plugin URI:        https://wphotelier.com/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=wphotelierplugin
    55 * Description:       Hotel booking plugin for WordPress.
    6  * Version:           2.18.0
     6 * Version:           2.18.1
    77 * Author:            WP Hotelier
    88 * Author URI:        https://wphotelier.com/
    99 * Requires at least: 4.0
    10  * Tested up to:      6.8
     10 * Tested up to:      6.9
    1111 * License:           GPLv3
    1212 * License URI:       http://www.gnu.org/licenses/gpl-3.0.html
     
    3232     * @var string
    3333     */
    34     public $version = '2.18.0';
     34    public $version = '2.18.1';
    3535
    3636    /**
  • wp-hotelier/trunk/includes/class-htl-room-variation.php

    r3448825 r3450050  
    66 * @category Class
    77 * @package  Hotelier/Classes
    8  * @version  2.10.0
     8 * @version  2.18.1
    99 */
    1010
     
    432432            $variation = new HTL_APS_Room_Variation( $this );
    433433
    434             return $variation->get_min_price( $raw );
     434            if ( method_exists( $variation, 'get_min_price' ) ) {
     435                return $variation->get_min_price( $raw );
     436            } else {
     437                // Backwards compatibility with old APS versions
     438                if ( $raw ) {
     439                    return 0;
     440                } else {
     441                    return $variation->get_min_price_html();
     442                }
     443            }
    435444        } else {
    436445
  • wp-hotelier/trunk/includes/class-htl-room.php

    r3448825 r3450050  
    66 * @category Class
    77 * @package  Hotelier/Classes
    8  * @version  2.10.0
     8 * @version  2.18.1
    99 */
    1010
     
    884884            $room = new HTL_APS_Room( $this );
    885885
    886             return $room->get_min_price( $raw );
     886            if ( method_exists( $room, 'get_min_price' ) ) {
     887                return $room->get_min_price( $raw );
     888            } else {
     889                // Backwards compatibility with old APS versions
     890                if ( $raw ) {
     891                    return 0;
     892                } else {
     893                    return $room->get_min_price_html();
     894                }
     895            }
    887896        } else {
    888897            $min_price = 0;
  • wp-hotelier/trunk/readme.txt

    r3448825 r3450050  
    44Requires at least: 4.1
    55Tested up to: 6.9
    6 Stable tag: 2.18.0
     6Stable tag: 2.18.1
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    132132== Changelog ==
    133133
     134= 2.18.1 - 2026-01-28 =
     135* Fixed - Prevent fatal error with old Advanced Pricing extension.
     136
    134137= 2.18.0 - 2026-01-28 =
    135138* Add - Support for WordPress 6.9.
Note: See TracChangeset for help on using the changeset viewer.