Plugin Directory

Changeset 3205855


Ignore:
Timestamp:
12/10/2024 04:58:51 PM (15 months ago)
Author:
themewinter
Message:

release 2.2.31

Location:
wp-cafe
Files:
187 added
5 edited

Legend:

Unmodified
Added
Removed
  • wp-cafe/trunk/assets/js/wpc-public.js

    r3048625 r3205855  
    684684function wpc_add_to_cart($) {
    685685
    686     $('body').on('submit', 'form.cart', function (evt) {
     686    $('body').off('submit', 'form.cart').on('submit', 'form.cart', function (evt) {
    687687        evt.preventDefault();
    688688        var $this = $(this);
  • wp-cafe/trunk/core/modules/reservation/hooks.php

    r3084054 r3205855  
    259259        $time_end           = get_post_meta( $reservation_id, 'wpc_to_time', true );
    260260        $reservation_invoice= ( isset($invoice) || $invoice !="" ) ? $invoice : get_post_meta( $reservation_id, 'wpc_reservation_invoice', true);
    261         $schedule_1         = $time_start !=="" ? esc_html__(' Start time ', 'wpcafe') . date_i18n($wpc_time_format, strtotime( $time_start ) ) : " ";
    262         $schedule_2         = $time_end !=="" ? esc_html__(' End time ', 'wpcafe'). date_i18n($wpc_time_format, strtotime( $time_end ) ) : " ";
     261         $schedule_1         = $time_start !=="" ? esc_html__(' Start time ', 'wpcafe') . Wpc_Utilities::get_formatted_time( $time_start ) : " ";
     262        $schedule_2         = $time_end !=="" ? esc_html__(' End time ', 'wpcafe'). Wpc_Utilities::get_formatted_time( $time_end ) : " ";
    263263        $separator          = ( $time_start !=="" && $time_end !=="" ) ? " : " : "";
    264264
  • wp-cafe/trunk/core/modules/reservation/wpc-reservation-report.php

    r3148397 r3205855  
    157157           
    158158            if ( $wpc_from_time !=="" ) {
    159                 $wpc_from_time = date_i18n($wpc_time_format, strtotime( $wpc_from_time ) );
     159                $wpc_from_time = Wpc_Utilities::get_formatted_time( $wpc_from_time );
    160160            }
    161161           
    162162            if ( $wpc_to_time !=="" ) {
    163                 $wpc_to_time = " - " . date_i18n($wpc_time_format, strtotime( $wpc_to_time ) );
     163                $wpc_to_time = " - " . Wpc_Utilities::get_formatted_time( $wpc_to_time );
    164164            }
    165165
  • wp-cafe/trunk/readme.txt

    r3148397 r3205855  
    397397== Changelog ==
    398398
     399= 2.2.31 ( December 8, 2024 ) =
     400
     401Fix             : Reservation list time format fix
     402Fix             : Multiple Item added on minicart
     403
    399404= 2.2.30 ( September 8, 2024 ) =
    400405
  • wp-cafe/trunk/wpcafe.php

    r3148397 r3205855  
    99 * Plugin URI:         https://product.themewinter.com/wpcafe
    1010 * Description:        WordPress Restaurant solution plugin to launch Restaurant Websites.
    11  * Version:            2.2.30
     11 * Version:            2.2.31
    1212 * Author:             Themewinter
    1313 * Author URI:         http://themewinter.com/
     
    3030     */
    3131    static function version() {
    32         return '2.2.30';
     32        return '2.2.31';
    3333    }
    3434
Note: See TracChangeset for help on using the changeset viewer.