Changeset 3183810
- Timestamp:
- 11/07/2024 12:09:40 PM (17 months ago)
- Location:
- seur/trunk
- Files:
-
- 5 edited
-
classes/class-seur-global.php (modified) (1 diff)
-
core/pages/rates/seur-country-state-process.php (modified) (2 diffs)
-
core/pages/rates/seur-edit-form.php (modified) (1 diff)
-
loader.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
seur/trunk/classes/class-seur-global.php
r3176965 r3183810 818 818 $upload_path = $upload_dir . '/' . $label_file; 819 819 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 ) ) { 821 826 $message = 'getLabel Error file_put_contents: ' . $upload_path; 822 827 $this->log->log( WC_Log_Levels::ERROR, $message ); -
seur/trunk/core/pages/rates/seur-country-state-process.php
r3176965 r3183810 26 26 } 27 27 echo '</select>'; 28 //set_transient( get_current_user_id() . '_seur_rate', $rate );28 set_transient( get_current_user_id() . '_seur_rate', $rate ); 29 29 } 30 30 if ( isset( $_POST['country'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing … … 36 36 $options = seur()->getStates($country, $states); 37 37 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">'; 39 39 if (count($states)==1 && $states[0] === 'all' && $country !=='Select' && $country !== 'NULL' ) { 40 40 echo '<option value="*">' . esc_html__( 'All States', 'seur' ) . '</option>'; -
seur/trunk/core/pages/rates/seur-edit-form.php
r3176965 r3183810 117 117 } 118 118 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">'; 120 120 echo '<option value="*">' . esc_html__( 'All States', 'seur' ) . '</option>'; 121 121 $currentstate = $getrate->state; -
seur/trunk/loader.php
r3179024 r3183810 4 4 * Plugin URI: http://www.seur.com/ 5 5 * 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.1 56 * Version: 2.2.16 7 7 * Author: SEUR Oficial 8 8 * Author URI: http://www.seur.com/ … … 20 20 use Automattic\WooCommerce\Utilities\FeaturesUtil; 21 21 22 define( 'SEUR_OFFICIAL_VERSION', '2.2.1 5' );22 define( 'SEUR_OFFICIAL_VERSION', '2.2.16' ); 23 23 define( 'SEUR_DB_VERSION', '1.0.4' ); 24 24 define( 'SEUR_TABLE_VERSION', '1.0.5' ); -
seur/trunk/readme.txt
r3179024 r3183810 94 94 == Changelog == 95 95 96 == 2.2.16 == 97 98 * FIXED: ZPL merge 99 * FIXED: Set transient rate 100 96 101 == 2.2.15 == 97 102
Note: See TracChangeset
for help on using the changeset viewer.