Plugin Directory

Changeset 2905396


Ignore:
Timestamp:
04/28/2023 01:34:07 AM (3 years ago)
Author:
rezgo
Message:

committing version 4.5.1

Location:
rezgo/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • rezgo/trunk/readme.txt

    r2884542 r2905396  
    44Tags:  tour operator software, tour booking system, activity booking software, tours, activities, events, attractions, booking, reservation, ticketing, e-commerce, business, rezgo
    55Requires at least: 3.3.0
    6 Tested up to: 6.1.1
     6Tested up to: 6.2
    77Requires PHP: 5.2
    8 Stable tag: 4.5
     8Stable tag: 4.5.1
    99
    1010Sell your tours, activities, and events on your WordPress website using Rezgo.
     
    134134== Changelog ==
    135135
     136= 4.5.1 =
     137* Bug fixes
     138
    136139= 4.5 =
    137140* Added Google GTM/GA4 support
  • rezgo/trunk/rezgo.php

    r2884542 r2905396  
    55    Plugin URI: https://wordpress.org/plugins/rezgo/
    66    Description: Connect WordPress to your Rezgo account and accept online bookings directly on your website.
    7     Version: 4.5
     7    Version: 4.5.1
    88    Author: Rezgo
    99    Author URI: http://www.rezgo.com
     
    5656define('REZGO_PLUGIN_NAME', 'rezgo');
    5757define('REZGO_PLUGIN_DIR', plugin_dir_path(__FILE__));
    58 define('REZGO_PLUGIN_VERSION', '4.5');
     58define('REZGO_PLUGIN_VERSION', '4.5.1');
    5959
    6060require_once('rezgo/include/page_header.php');
  • rezgo/trunk/rezgo/include/class.rezgo.php

    r2884542 r2905396  
    641641    // ------------------------------------------------------------------------------
    642642    function getTemplate($req, $fullpath=false) {
    643         reset($GLOBALS);
     643        //reset($GLOBALS);
    644644        foreach($GLOBALS as $key => $val) {
    645645            if(($key != strstr($key,"HTTP_")) && ($key != strstr($key, "_")) && ($key != 'GLOBALS')) {
  • rezgo/trunk/rezgo/templates/default/order.php

    r2884542 r2905396  
    584584                                } ?>
    585585
    586                                 <div class="rezgo-order-memo rezgo-order-date-<?php echo esc_attr(date('Y-m-d', (string) $item->booking_date)); ?> rezgo-order-item-<?php echo esc_attr($item->uid); ?>"></div>
     586                                <?php
     587                                if ((string) $item->date_selection == 'never') {
     588                                    $order_item_class = 'open';
     589                                } else {
     590                                    $order_item_class = date('Y-m-d', (string) $item->booking_date);
     591                                }
     592                                ?>
     593
     594                                <div class="rezgo-order-memo rezgo-order-date-<?php echo esc_attr($order_item_class); ?> rezgo-order-item-<?php echo esc_attr($item->uid); ?>"></div>
    587595                            </div>
    588596
  • rezgo/trunk/rezgo_service_functions.php

    r2777497 r2905396  
    33function rezgo_return_file($filePath, $additionalVars = array())
    44{
    5     reset($GLOBALS);
     5    //reset($GLOBALS);
    66    foreach($GLOBALS as $key => $val) {
    77        if(($key != strstr($key,"HTTP_")) && ($key != strstr($key, "_")) && ($key != 'GLOBALS')) {
Note: See TracChangeset for help on using the changeset viewer.