Changeset 3376954
- Timestamp:
- 10/12/2025 01:21:06 PM (5 months ago)
- Location:
- upc-ean-barcode-generator/trunk
- Files:
-
- 2 added
- 2 deleted
- 3 edited
-
assets/css/index-2.0.3-basic-1754503987086.css (deleted)
-
assets/css/index-2.0.4-basic-1760274808903.css (added)
-
assets/js/index-2.0.3-basic-1754503987086.js (deleted)
-
assets/js/index-2.0.4-basic-1760274808903.js (added)
-
index.php (modified) (2 diffs)
-
src/features/Integrations/CodeStoreField.php (modified) (1 diff)
-
src/features/products/Products.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
upc-ean-barcode-generator/trunk/index.php
r3341470 r3376954 4 4 * Description: Allows to generate EAN & UPC codes for your WooCommerce plugins. 5 5 * Text Domain: upc-ean-generator 6 * Version: 2.0. 36 * Version: 2.0.4 7 7 * Author: UkrSolution 8 8 * Plugin URI: https://www.ukrsolution.com … … 40 40 add_action('plugins_loaded', function () { 41 41 $lastVersion = get_option("active-{%plugin%}-barcodes-version", ""); 42 if ($lastVersion !== "2.0. 3") {42 if ($lastVersion !== "2.0.4") { 43 43 UkrSolution\UpcEanGenerator\Database::createTables(); 44 update_option("active-{%plugin%}-barcodes-version", "2.0. 3");44 update_option("active-{%plugin%}-barcodes-version", "2.0.4"); 45 45 } 46 46 }); -
upc-ean-barcode-generator/trunk/src/features/Integrations/CodeStoreField.php
r3341206 r3376954 28 28 } 29 29 30 $this->optionName = __(static::OPTION_NAME, 'upc-ean-generator'); 30 31 add_action('init', function() { 32 $this->optionName = __(static::OPTION_NAME, 'upc-ean-generator'); 33 }); 31 34 32 35 add_filter('uegen_code_store_field_options', function ($codeStoreFieldOptions) { -
upc-ean-barcode-generator/trunk/src/features/products/Products.php
r3341206 r3376954 17 17 public $fieldName = ""; 18 18 protected $upcEanFieldName = "usbs_barcode_field"; 19 protected $fieldLabel = " ";19 protected $fieldLabel = "Barcode"; 20 20 protected $postTypes = array('product', 'product_variation'); 21 21 protected $postStatuses = array('publish', 'pending', 'draft', 'auto-draft', 'future', 'private', 'inherit', 'trash'); … … 36 36 $this->codeStoreFieldOption = $this->settings->getField("general", "code-store-field", $this->upcEanFieldName); 37 37 $this->fieldName = $this->upcEanFieldName; 38 $this->fieldLabel = __("Barcode", 'upc-ean-generator'); 38 39 40 add_action('init', function() { 41 $this->fieldLabel = __("Barcode", 'upc-ean-generator'); 42 }); 43 39 44 $this->newProductsCodeSource = $this->settings->getField("general", "new-products-code-source", self::DATA_GENERATE); 40 45
Note: See TracChangeset
for help on using the changeset viewer.