Plugin Directory

Changeset 3183810


Ignore:
Timestamp:
11/07/2024 12:09:40 PM (17 months ago)
Author:
seuroficial
Message:

v2.2.16

Location:
seur/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • seur/trunk/classes/class-seur-global.php

    r3176965 r3183810  
    818818                $upload_path = $upload_dir . '/' . $label_file;
    819819
    820                 if ( ! $wp_filesystem->put_contents( $upload_path, $content, FS_CHMOD_FILE | FILE_APPEND ) ) {
     820                if ($merge_labels) {
     821                    $existing_content = $wp_filesystem->get_contents($upload_path);
     822                    $content = $existing_content . $content;
     823                }
     824
     825                if ( ! $wp_filesystem->put_contents( $upload_path, $content, FS_CHMOD_FILE ) ) {
    821826                    $message = 'getLabel Error file_put_contents: ' . $upload_path;
    822827                    $this->log->log( WC_Log_Levels::ERROR, $message );
  • seur/trunk/core/pages/rates/seur-country-state-process.php

    r3176965 r3183810  
    2626        }
    2727        echo '</select>';
    28         //set_transient( get_current_user_id() . '_seur_rate', $rate );
     28        set_transient( get_current_user_id() . '_seur_rate', $rate );
    2929    }
    3030    if ( isset( $_POST['country'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
     
    3636        $options = seur()->getStates($country, $states);
    3737        if ($options) {
    38             echo '<select title="' . esc_html__( 'Select State', 'seur' ) . '" name="state">';
     38            echo '<select class="select state" title="' . esc_html__( 'Select State', 'seur' ) . '" name="state">';
    3939            if (count($states)==1 && $states[0] === 'all' && $country !=='Select' && $country !== 'NULL' ) {
    4040                echo '<option value="*">' . esc_html__( 'All States', 'seur' ) . '</option>';
  • seur/trunk/core/pages/rates/seur-edit-form.php

    r3176965 r3183810  
    117117                    }
    118118                    if ( $states && '*' !== $states ) {
    119                         echo '<select value="Select" title="' . esc_html__( 'Select State', 'seur' ) . '" name="state">';
     119                        echo '<select class="select state" value="Select" title="' . esc_html__( 'Select State', 'seur' ) . '" name="state">';
    120120                        echo '<option value="*">' . esc_html__( 'All States', 'seur' ) . '</option>';
    121121                        $currentstate = $getrate->state;
  • seur/trunk/loader.php

    r3179024 r3183810  
    44 * Plugin URI: http://www.seur.com/
    55 * Description: Add SEUR shipping method to WooCommerce. The SEUR plugin for WooCommerce allows you to manage your order dispatches in a fast and easy way
    6  * Version: 2.2.15
     6 * Version: 2.2.16
    77 * Author: SEUR Oficial
    88 * Author URI: http://www.seur.com/
     
    2020use Automattic\WooCommerce\Utilities\FeaturesUtil;
    2121
    22 define( 'SEUR_OFFICIAL_VERSION', '2.2.15' );
     22define( 'SEUR_OFFICIAL_VERSION', '2.2.16' );
    2323define( 'SEUR_DB_VERSION', '1.0.4' );
    2424define( 'SEUR_TABLE_VERSION', '1.0.5' );
  • seur/trunk/readme.txt

    r3179024 r3183810  
    9494== Changelog ==
    9595
     96== 2.2.16 ==
     97
     98* FIXED: ZPL merge
     99* FIXED: Set transient rate
     100
    96101== 2.2.15 ==
    97102
Note: See TracChangeset for help on using the changeset viewer.