Plugin Directory

Changeset 3005904


Ignore:
Timestamp:
12/05/2023 07:39:23 PM (2 years ago)
Author:
pluginbazar
Message:

Bug Fixed

Location:
woc-open-close
Files:
228 added
3 edited

Legend:

Unmodified
Added
Removed
  • woc-open-close/trunk/includes/classes/class-functions.php

    r3001840 r3005904  
    267267            $_next_time = [];
    268268            foreach ( $new_schedules as $day_id => $schedules ) {
    269                 if ( ! empty( $schedules[0]['open'] ) && ! empty( $schedules[0]['close'] ) ) {
     269                $key = array_key_first( $schedules );
     270
     271                if ( empty( $schedules[ $key ]['open'] ) && empty( $schedules[ $key ]['close'] ) ) {
     272                    continue;
     273                }
     274
     275                if ( isset( $schedules[ $key ]['open'] ) && isset( $schedules[ $key ]['close'] ) ) {
    270276                    $_next_time[ $day_id ] = $schedules;
    271277                    break;
  • woc-open-close/trunk/readme.txt

    r3001840 r3005904  
    66   Tested up to: 6.4.1
    77   Tested up to WooCommerce: 8.3.1
    8    Stable tag: 4.8.0
     8   Stable tag: 4.9.0
    99   Requires PHP: 5.6
    1010   Requires WooCommerce: 3.0
     
    304304    * 26/11/2023 - FIX - Bug fixed.
    305305
     306    = 4.9.0 =
     307    * 06/12/2023 - FIX - Bug fixed.
     308
    306309
    307310== Upgrade Notice == 
  • woc-open-close/trunk/woc-open-close.php

    r3001840 r3005904  
    44    Plugin URI: https://pluginbazar.com/plugin/woocommerce-open-close/
    55    Description: Open Close WooCommerce store automatically with predefined schedules. Stop getting orders when your store is closed.
    6     Version: 4.8.0
     6    Version: 4.9.0
    77    Text Domain: woc-open-close
    88    Author: Jaed Mosharraf & Pluginbazar Team
     
    2020defined( 'WOOOPENCLOSE_DOCS_URL' ) || define( 'WOOOPENCLOSE_DOCS_URL', 'https://docs.pluginbazar.com/plugin/open-close-woocommerce-store/' );
    2121defined( 'WOOOPENCLOSE_WP_REVIEW_URL' ) || define( 'WOOOPENCLOSE_WP_REVIEW_URL', 'https://wordpress.org/support/plugin/woc-open-close/reviews/' );
    22 defined( 'WOOOPENCLOSE_VERSION' ) || define( 'WOOOPENCLOSE_VERSION', '4.8.0' );
     22defined( 'WOOOPENCLOSE_VERSION' ) || define( 'WOOOPENCLOSE_VERSION', '4.9.0' );
    2323
    2424
Note: See TracChangeset for help on using the changeset viewer.