Changeset 3787465
- Timestamp:
- 11/06/2026 08:32:16 AM (15 hours ago)
- Location:
- ba-book-everything/trunk
- Files:
-
- 4 edited
-
babe-bootstrap.php (modified) (3 diffs)
-
includes/class-babe-html.php (modified) (2 diffs)
-
includes/class-babe-order.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ba-book-everything/trunk/babe-bootstrap.php
r3770425 r3787465 5 5 * Plugin URI: https://ba-booking.com/ba-book-everything/ 6 6 * Description: The really fast and powerful Booking engine for any booking or rental sites (tours, hotels, apartments, yachts, cars, events, etc.). 7 * Version: 1.8.3 47 * Version: 1.8.35 8 8 * Author: Booking Algorithms 9 9 * Author URI: https://ba-booking.com … … 21 21 exit; 22 22 23 define( 'BABE_VERSION', '1.8.3 4' );23 define( 'BABE_VERSION', '1.8.35' ); 24 24 define( 'BABE_PLUGIN_SLUG', 'ba-book-everything' ); 25 25 define( 'BABE_PLUGIN', __FILE__ ); … … 34 34 require_once BABE_PLUGIN_DIR . '/includes/plugins/cmb2-conditionals/cmb2-conditionals.php'; 35 35 } 36 37 include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 36 38 37 39 include_once BABE_PLUGIN_DIR . '/includes/class-babe-install.php'; -
ba-book-everything/trunk/includes/class-babe-html.php
r3770425 r3787465 3183 3183 } 3184 3184 3185 $output .= $message. '</h4>';3185 $output .= esc_html($message) . '</h4>'; 3186 3186 3187 3187 } else { … … 3278 3278 } 3279 3279 3280 $output .= $message. '</h4>';3280 $output .= esc_html($message) . '</h4>'; 3281 3281 3282 3282 if ( $args['order_status'] === 'payment_expected' ){ -
ba-book-everything/trunk/includes/class-babe-order.php
r3770425 r3787465 383 383 } 384 384 385 /** 386 * Get order hash 387 * @param int $order_id 388 * @return string 389 */ 390 public static function get_order_hash( $order_id ) { 391 return get_post_meta($order_id, '_order_hash', true); 392 } 393 394 /** 395 * Get order admin hash 396 * @param int $order_id 397 * @return string 398 */ 399 public static function get_order_admin_hash( $order_id ) { 400 return get_post_meta($order_id, '_order_admin_hash', true); 385 public static function get_order_hash( int $order_id ): string { 386 return (string)get_post_meta($order_id, '_order_hash', true); 387 } 388 389 public static function get_order_admin_hash( int $order_id ): string { 390 return (string)get_post_meta($order_id, '_order_admin_hash', true); 401 391 } 402 392 … … 2324 2314 && BABE_Post_types::$order_post_type === get_post_type($order_id) 2325 2315 && self::get_order_number($order_id) === $order_num 2326 && self::get_order_hash($order_id) === $order_hash2316 && hash_equals(self::get_order_hash($order_id), $order_hash) 2327 2317 ; 2328 2318 … … 2336 2326 && BABE_Post_types::$order_post_type === get_post_type($order_id) 2337 2327 && self::get_order_number($order_id) === $order_num 2338 && self::get_order_admin_hash($order_id) === $order_admin_hash2328 && hash_equals(self::get_order_admin_hash($order_id), $order_admin_hash) 2339 2329 ; 2340 2330 } -
ba-book-everything/trunk/readme.txt
r3770425 r3787465 5 5 Requires PHP: 8.1 6 6 Tested up to: 7.1 7 Stable tag: 1.8.3 47 Stable tag: 1.8.35 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 91 91 == Changelog == 92 92 93 = 1.8.35 = 94 * Fixed an issue with call to undefined function is_plugin_active 95 93 96 = 1.8.34 = 94 97 * Security update: fixed an XSS vulnerability related to the manual order confirmation process. Reported by AndrewN, patchstack
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)