Plugin Directory

Changeset 3282763


Ignore:
Timestamp:
04/27/2025 01:46:16 PM (11 months ago)
Author:
olivery
Message:

update version

Location:
connect-plus-for-woocommerce/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • connect-plus-for-woocommerce/trunk/README.txt

    r3278431 r3282763  
    77Requires at least: 6.0
    88
    9 Tested up to: 6.6
     9Tested up to: 6.8
    1010
    11 Stable tag: 1.0.19
     11Stable tag: 1.0.20
    1212
    1313Requires PHP: 7.0
  • connect-plus-for-woocommerce/trunk/admin/cpfw-connect-admin.php

    r3278431 r3282763  
    477477            }
    478478       
    479         } catch (Exception $e) {
    480             error_log($order_id . PHP_EOL . 'Error: ' . $e->getCode() . ': ' . $e->getMessage() . PHP_EOL, 3, __DIR__ . '/../logs/error.log');
     479        } catch (Exception $e) {       
    481480        }
    482481
     
    551550     */
    552551    public function handle_delivery_status_update($meta_id, $post_id, $meta_key, $meta_value) {
    553         $order = wc_get_order($post_id);
    554         $delivery_status = $order->get_meta('_delivery_status');
    555552        $status_text = !empty($delivery_status) ? $delivery_status : 'No status';
    556553        if ($meta_key !== '_delivery_status' || get_post_type($post_id) !== 'shop_order') {
     
    558555            return;
    559556        }
     557        $order = wc_get_order($post_id);
     558        $delivery_status = $order->get_meta('_delivery_status');
    560559        if (!$order) {
    561560            update_post_meta($post_id, '_delivery_status',$status_text);
  • connect-plus-for-woocommerce/trunk/admin/partials/cpfw-connect-admin-send-btn.php

    r3182009 r3282763  
    3636                <p><?php echo esc_html(__('Are you sure to send this/these order/s to Olivery Connect Plus ?', 'connect-plus-for-woocommerce')); ?></p>
    3737                <div class="alert" style="display: none"></div>
    38                 <a class="button-primary modalBtn" id="submit_to_olivery" data-text="<?php echo esc_attr(__('Send', 'oconnect-plus-for-woocommerce')); ?>" data-sending="<?php echo esc_attr(__('Sending...', 'connect-plus-for-woocommerce')); ?>" data-id="<?php echo esc_attr($the_order->get_id()); ?>">
     38                <a class="button-primary modalBtn" id="submit_to_olivery" data-text="<?php echo esc_attr(__('Send', 'connect-plus-for-woocommerce')); ?>" data-sending="<?php echo esc_attr(__('Sending...', 'connect-plus-for-woocommerce')); ?>" data-id="<?php echo esc_attr($the_order->get_id()); ?>">
    3939                    <?php echo esc_html(__('Send', 'connect-plus-for-woocommerce')); ?>
    4040                </a>
  • connect-plus-for-woocommerce/trunk/admin/views/cpfw-connect-admin-settings.php

    r3270172 r3282763  
    7676                    <td>
    7777                        <input type="text" id="olivery_connect_token" name="olivery_connect_token"
    78                             class="regular-text " value="<?php echo $current_token; ?>"
     78                            class="regular-text " value="<?php esc_html_e($current_token,'connect-plus-for-woocommerce'); ?>"
    7979                            placeholder="<?php esc_attr_e('Enter your ecommerce token', 'connect-plus-for-woocommerce'); ?>">
    8080                        <p class="description">
  • connect-plus-for-woocommerce/trunk/connect-plus-for-woocommerce.php

    r3278431 r3282763  
    1717 * Plugin URI:        https://website.olivery.app/
    1818 * Description:       Plugin to help you connect WooCommerce with Connect Plus application
    19  * Version:           1.0.19
     19 * Version:           1.0.20
    2020 * Author:            Olivery dev
    2121 * Text Domain:       connect-plus-for-woocommerce
     
    4040define('CPFW_PLUGIN_DIR', __DIR__);
    4141
    42 define('PLUGIN_VERSION','1.0.19');
     42define('PLUGIN_VERSION','1.0.20');
    4343/**
    4444 * The code that runs during plugin activation.
Note: See TracChangeset for help on using the changeset viewer.