Plugin Directory

Changeset 2695427


Ignore:
Timestamp:
03/17/2022 02:08:02 PM (4 years ago)
Author:
BookingCalendar
Message:

Update to 1.7.1

Location:
advanced-booking-calendar/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-booking-calendar/trunk/advanced-booking-calendar.php

    r2682086 r2695427  
    66Author: Advanced Booking Calendar
    77Author URI: https://booking-calendar-plugin.com
    8 Version: 1.7.0
     8Version: 1.7.1
    99Text Domain: advanced-booking-calendar
    1010Domain Path: /languages/
     
    154154    dbDelta($seasonsAssignment);
    155155    }
    156     add_option('abc_pluginversion', '170');
     156    add_option('abc_pluginversion', '171');
    157157    add_option ('abc_email', get_option( 'admin_email' ));
    158158    add_option ('abc_bookingpage', 0);
     
    626626    }   
    627627
    628     if(get_option( 'abc_pluginversion' ) < '170') {
    629         update_option( 'abc_pluginversion', '170');
     628    if(get_option( 'abc_pluginversion' ) < '171') {
     629        update_option( 'abc_pluginversion', '171');
    630630    }   
    631631}
  • advanced-booking-calendar/trunk/backend/seasons-calendars.php

    r2503971 r2695427  
    6666        $er = $wpdb->get_row('SELECT SUM(maxAvailabilities) as rooms FROM '.$wpdb->prefix.'abc_calendars', ARRAY_A);
    6767        $rooms = $er["rooms"];
    68         $er = $wpdb->get_row('SELECT * FROM '.$wpdb->prefix.'abc_calendars WHERE id = '.$_POST["id"], ARRAY_A);
     68        $er = $wpdb->get_row('SELECT * FROM '.$wpdb->prefix.'abc_calendars WHERE id = '.intval($_POST["id"]), ARRAY_A);
    6969        $rooms -= $er["maxAvailabilities"];
    7070        $maxAvailabilities = intval($_POST["maxAvailabilities"]);
     
    403403                        $notices .= __('Rooms could not be deleted. There are still active bookings.', 'advanced-booking-calendar' );
    404404                    }else{
    405                         $notices .= sprintf( __('Rooms reduced to %s rooms', 'abc-bookings'), $_GET["room"]);
     405                        $notices .= sprintf( __('Rooms reduced to %s rooms', 'abc-bookings'), esc_html($_GET["room"]));
    406406                    }
    407407                }       
  • advanced-booking-calendar/trunk/readme.txt

    r2682086 r2695427  
    44Requires at least: 4.3.0
    55Tested up to: 5.9
    6 Stable tag: 1.7.0
     6Stable tag: 1.7.1
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    102102== Changelog ==
    103103
     104= 1.7.1 =
     105* Fixed issues when changing an existing calendar in the backend.
     106
    104107= 1.7.0 =
    105108* Fixed an issue in the Single Calendar.
Note: See TracChangeset for help on using the changeset viewer.