Changeset 2774516
- Timestamp:
- 08/24/2022 12:49:20 AM (4 years ago)
- Location:
- rezgo/trunk
- Files:
-
- 4 edited
-
3DS.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
rezgo.php (modified) (2 diffs)
-
rezgo/templates/default/booking_tickets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rezgo/trunk/3DS.php
r2769142 r2774516 20 20 } 21 21 22 // $code = json_encode($_REQUEST);22 $stripped_code = wp_json_encode($stripped_request); 23 23 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>"; 27 25 28 26 echo '</body></html>'; -
rezgo/trunk/readme.txt
r2769551 r2774516 6 6 Tested up to: 6.0.1 7 7 Requires PHP: 5.2 8 Stable tag: 4.1.1 18 Stable tag: 4.1.12 9 9 10 10 Sell your tours, activities, and events on your WordPress website using Rezgo. … … 133 133 134 134 == Changelog == 135 = 4.1.12 = 136 * Bug fixes 137 135 138 = 4.1.11 = 136 139 * Adding escaping -
rezgo/trunk/rezgo.php
r2769551 r2774516 5 5 Plugin URI: https://wordpress.org/plugins/rezgo/ 6 6 Description: Connect WordPress to your Rezgo account and accept online bookings directly on your website. 7 Version: 4.1.1 17 Version: 4.1.12 8 8 Author: Rezgo 9 9 Author URI: http://www.rezgo.com … … 54 54 define('REZGO_PLUGIN_NAME', 'rezgo'); 55 55 define('REZGO_PLUGIN_DIR', plugin_dir_path(__FILE__)); 56 define('REZGO_PLUGIN_VERSION', '4.1.1 1');56 define('REZGO_PLUGIN_VERSION', '4.1.12'); 57 57 58 58 require_once('rezgo/include/page_header.php'); -
rezgo/trunk/rezgo/templates/default/booking_tickets.php
r2762643 r2774516 30 30 $checkin_state = $booking->checkin_state; 31 31 $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 32 83 ?> 33 84 … … 37 88 <?php foreach ($ticket_content->tickets as $ticket_list) { ?> 38 89 <?php foreach ($ticket_list as $ticket) { ?> 39 <span><?php echo esc_html($ticket); ?></span>90 <span><?php echo wp_kses($ticket, $allowed_html); ?></span> 40 91 41 92 <br /> 42 43 <!-- <div class="h6 pull-right">44 <span class="rezgo-ticket-logo">Rezgo</span>45 </div> -->46 93 47 94 <div class="clearfix"></div>
Note: See TracChangeset
for help on using the changeset viewer.