Plugin Directory

Changeset 2774516


Ignore:
Timestamp:
08/24/2022 12:49:20 AM (4 years ago)
Author:
rezgo
Message:

committing version 4.1.12

Location:
rezgo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • rezgo/trunk/3DS.php

    r2769142 r2774516  
    2020    }
    2121
    22     // $code = json_encode($_REQUEST);
     22    $stripped_code = wp_json_encode($stripped_request);
    2323
    24     $stripped_code = json_encode($stripped_request);
    25    
    26     echo "<script>parent.parent.sca_callback('".esc_html($stripped_code)."');</script>";
     24    echo "<script>parent.parent.sca_callback('".$stripped_code."');</script>";
    2725   
    2826    echo '</body></html>';
  • rezgo/trunk/readme.txt

    r2769551 r2774516  
    66Tested up to: 6.0.1
    77Requires PHP: 5.2
    8 Stable tag: 4.1.11
     8Stable tag: 4.1.12
    99
    1010Sell your tours, activities, and events on your WordPress website using Rezgo.
     
    133133
    134134== Changelog ==
     135= 4.1.12 =
     136* Bug fixes
     137
    135138= 4.1.11 =
    136139* Adding escaping
  • rezgo/trunk/rezgo.php

    r2769551 r2774516  
    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.1.11
     7    Version: 4.1.12
    88    Author: Rezgo
    99    Author URI: http://www.rezgo.com
     
    5454define('REZGO_PLUGIN_NAME', 'rezgo');
    5555define('REZGO_PLUGIN_DIR', plugin_dir_path(__FILE__));
    56 define('REZGO_PLUGIN_VERSION', '4.1.11');
     56define('REZGO_PLUGIN_VERSION', '4.1.12');
    5757
    5858require_once('rezgo/include/page_header.php');
  • rezgo/trunk/rezgo/templates/default/booking_tickets.php

    r2762643 r2774516  
    3030                    $checkin_state = $booking->checkin_state;
    3131                    $type = ((string) $booking->ticket_type != '' ? $booking->ticket_type : 'voucher');
     32
     33                    $allowed_html = array(
     34                        'html' => array(
     35                            'lang' => array()
     36                        ),
     37                        'head' => array(),
     38                        'meta' => array(
     39                            'charset' => array(),
     40                            'name' => array(),
     41                            'content' => array(),
     42                        ),
     43                        'script' => array(
     44                            'type' => array()
     45                        ),
     46                        'link' => array(
     47                            'href' => array(),
     48                            'rel' => array()
     49                        ),
     50                        'title' => array(),
     51                        'body' => array(),
     52                        'style' => array(),
     53                        'div' => array(
     54                            'id' => array(),
     55                            'class' => array()
     56                        ),
     57                        'h1' => array(),
     58                        'h2' => array(),
     59                        'h3' => array(),
     60                        'h4' => array(),
     61                        'h5' => array(),
     62                        'p' => array(),
     63                        'span' => array(),
     64                        'br' => array(),
     65                        'label' => array(),
     66                        'strong' => array(),
     67                        'em' => array(),
     68                        'i' => array(),
     69                        'font' => array(
     70                            'color' => array()
     71                        ),
     72                        'hr' => array(),
     73                        'ol' => array(),
     74                        'li' => array(),
     75                        'a' => array(),
     76                        'img' => array(
     77                            'src' => array(),
     78                            'alt' => array(),
     79                            'class' => array(),
     80                        )
     81                    );
     82
    3283                    ?>
    3384
     
    3788                        <?php foreach ($ticket_content->tickets as $ticket_list) { ?>
    3889                            <?php foreach ($ticket_list as $ticket) { ?>
    39                                 <span><?php echo esc_html($ticket); ?></span>
     90                                <span><?php echo wp_kses($ticket, $allowed_html); ?></span>
    4091
    4192                                <br />
    42 
    43                                 <!-- <div class="h6 pull-right">
    44                                     <span class="rezgo-ticket-logo">Rezgo</span>
    45                                 </div> -->
    4693
    4794                                <div class="clearfix"></div>
Note: See TracChangeset for help on using the changeset viewer.