💎 PREMIUM: Changeset/ - Complete Album!

Changeset 3280676


Ignore:
Timestamp:
04/24/2025 08:04:53 AM (8 months ago)
Author:
nicdark
Message:

edit version for 3.7

Location:
nd-booking/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nd-booking/trunk/addons/shortcodes/rooms/index.php

    r2745778 r3280676  
    3636    //get the layout selected
    3737    $nd_booking_layout_selected = dirname( __FILE__ ).'/layout/'.$nd_booking_ss_rooms_layout.'.php';
    38     include realpath($nd_booking_layout_selected);
     38
     39    if ( str_contains( $nd_booking_layout_selected, '/wp-content/plugins/nd-booking/addons/shortcodes/rooms/layout/layout-1.php') ) {
     40        include realpath($nd_booking_layout_selected);
     41    }
     42
     43    if ( str_contains( $nd_booking_layout_selected, '/wp-content/plugins/nd-booking/addons/shortcodes/rooms/layout/layout-2.php') ) {
     44        include realpath($nd_booking_layout_selected);
     45    }
    3946
    4047    wp_reset_postdata();
  • nd-booking/trunk/nd-booking.php

    r3218278 r3280676  
    33Plugin Name:       Hotel Booking
    44Description:       The plugin is used to manage your booking. To get started: 1) Click the "Activate" link to the left of this description. 2) Follow the documentation for installation for use the plugin in the better way.
    5 Version:           3.6
     5Version:           3.7
    66Plugin URI:        https://nicdark.com
    77Author:            Nicdark
  • nd-booking/trunk/readme.txt

    r3218278 r3280676  
    33Tags: booking, hotel, travel, book
    44Requires at least: 4.5
    5 Tested up to: 6.6
    6 Stable tag: 3.6
     5Tested up to: 6.8
     6Stable tag: 3.7
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020
    2121== Changelog ==
     22
     23= 3.7 =
     24* fixed Local File Inclusion on nd_booking_ss_rooms shortcode
    2225
    2326= 3.6 =
Note: See TracChangeset for help on using the changeset viewer.