Changeset 3478911
- Timestamp:
- 03/10/2026 09:07:30 AM (3 weeks ago)
- Location:
- sku-for-woocommerce/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
sku-for-woocommerce.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sku-for-woocommerce/trunk/readme.txt
r3304122 r3478911 3 3 Tags: woocommerce, sku, stock keeping unit, generate sku, generate 4 4 Requires at least: 4.4 5 Tested up to: 6. 86 Stable tag: 1.6. 45 Tested up to: 6.9 6 Stable tag: 1.6.5 7 7 License: GNU General Public License v3.0 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 48 48 49 49 == Changelog == 50 51 = 1.6.5 - 2026-03-10 = 52 * FIX: PHP notice. 50 53 51 54 = 1.6.4 - 2025-05-31 = -
sku-for-woocommerce/trunk/sku-for-woocommerce.php
r3304122 r3478911 4 4 Plugin URI: https://wpwham.com/products/sku-generator-for-woocommerce/ 5 5 Description: Add full SKU support to WooCommerce. 6 Version: 1.6. 46 Version: 1.6.5 7 7 Author: WP Wham 8 8 Author URI: https://wpwham.com 9 9 Text Domain: sku-for-woocommerce 10 10 Domain Path: /langs 11 Copyright: © 2018-202 5WP Wham. All rights reserved.11 Copyright: © 2018-2026 WP Wham. All rights reserved. 12 12 License: GNU General Public License v3.0 13 13 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 38 38 39 39 if ( ! defined( 'WPWHAM_SKU_GENERATOR_VERSION' ) ) { 40 define( 'WPWHAM_SKU_GENERATOR_VERSION', '1.6. 4' );40 define( 'WPWHAM_SKU_GENERATOR_VERSION', '1.6.5' ); 41 41 } 42 42 … … 52 52 * Main Alg_WooCommerce_SKU Class 53 53 * 54 * @version 1.6. 454 * @version 1.6.5 55 55 * @since 1.0.0 56 56 */ … … 66 66 * @since 1.1.2 67 67 */ 68 public $version = '1.6. 4';68 public $version = '1.6.5'; 69 69 70 70 /** … … 91 91 * Alg_WooCommerce_SKU Constructor. 92 92 * 93 * @version 1.6. 493 * @version 1.6.5 94 94 * @access public 95 95 */ 96 function __construct() { 97 98 // Set up localisation 99 add_action( 'init', array( $this, 'load_localization' ) ); 100 101 // Include required files 102 $this->includes(); 96 public function __construct() { 97 98 add_action( 'init', array( $this, 'includes' ) ); 103 99 104 100 // Admin 105 if ( is_admin() ) { 106 107 add_filter( 'woocommerce_get_settings_pages', array( $this, 'add_woocommerce_settings_tab' ) ); 108 add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'action_links' ) ); 109 $this->add_settings(); 110 add_action( 'woocommerce_system_status_report', array( $this, 'add_settings_to_status_report' ) ); 111 112 // Version updated 113 if ( get_option( 'alg_sku_generator_version', '' ) !== $this->version ) { 114 add_action( 'admin_init', array( $this, 'version_updated' ) ); 115 } 116 117 } 118 119 } 120 121 /** 122 * @since 1.6.4 123 */ 124 public function load_localization() { 125 load_plugin_textdomain( 'sku-for-woocommerce', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/' ); 101 add_action( 'woocommerce_system_status_report', array( $this, 'add_settings_to_status_report' ) ); 102 add_filter( 'woocommerce_get_settings_pages', array( $this, 'add_woocommerce_settings_tab' ) ); 103 add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'action_links' ) ); 104 105 // Updates 106 if ( get_option( 'alg_sku_generator_version', '' ) !== $this->version ) { 107 add_action( 'admin_init', array( $this, 'version_updated' ) ); 108 } 109 126 110 } 127 111 … … 148 132 * Include required core files used in admin and on the frontend. 149 133 * 150 * @version 1.2.2 151 */ 152 function includes() { 134 * @version 1.6.5 135 * @since 1.0.0 136 */ 137 public function includes() { 138 // Localization 139 load_plugin_textdomain( 'sku-for-woocommerce', false, dirname( plugin_basename( __FILE__ ) ) . '/langs/' ); 153 140 // Core 154 141 $this->core = require_once( 'includes/class-wc-sku.php' ); 142 // Add settings 143 if ( is_admin() ) { 144 $this->add_settings(); 145 } 155 146 } 156 147
Note: See TracChangeset
for help on using the changeset viewer.