Changeset 3373155
- Timestamp:
- 10/05/2025 02:42:56 PM (5 months ago)
- Location:
- woo-title-limit/trunk
- Files:
-
- 5 edited
-
.gitignore (modified) (1 diff)
-
admin/class-woo-title-limit-admin.php (modified) (1 diff)
-
includes/class-woo-title-limit.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
woo-title-limit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-title-limit/trunk/.gitignore
r2237047 r3373155 1 1 .git 2 2 .idea 3 .DS_Store -
woo-title-limit/trunk/admin/class-woo-title-limit-admin.php
r2237047 r3373155 100 100 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/woo-title-limit-admin.js', [ 'jquery' ], $this->version, FALSE ); 101 101 102 } 103 /** 104 * Declare compatibility with WooCommerce HPOS (High-Performance Order Storage) 105 * 106 * @since 2.0.4 107 */ 108 public function set_hpos_support_for_wc() { 109 if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { 110 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', plugin_dir_path( dirname( __FILE__ ) ) . 'woo-title-limit.php', true ); 111 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', plugin_dir_path( dirname( __FILE__ ) ) . 'woo-title-limit.php', true ); 112 } 102 113 } 103 114 -
woo-title-limit/trunk/includes/class-woo-title-limit.php
r2237047 r3373155 164 164 $this->loader->add_action( 'admin_menu', $plugin_admin, 'create_settings_menu', 9 ); 165 165 $this->loader->add_action( 'plugin_action_links_woo-title-limit/woo-title-limit.php', $plugin_admin, 'plugin_settings_link', 9 ); 166 $this->loader->add_action( 'before_woocommerce_init', $plugin_admin, 'set_hpos_support_for_wc' ); 166 167 167 168 } -
woo-title-limit/trunk/readme.txt
r2654527 r3373155 4 4 Tags: woocommerce, product title, title, length, limit, shop 5 5 Requires at least: 3.0.1 6 Tested up to: 5.8.37 Stable tag: 2.0. 36 Tested up to: 6.8.3 7 Stable tag: 2.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 44 44 45 45 == Changelog == 46 47 = 2.0.4 = 48 49 * tested up to WordPress 6.8.3 50 * tested up to WooCommerce 10.2.2 46 51 47 52 = 2.0.3 = -
woo-title-limit/trunk/woo-title-limit.php
r2654527 r3373155 17 17 * Plugin URI: https://www.dimitri-wolf.de 18 18 * Description: Allows you to set product title lengths for WooCommerce products. 19 * Version: 2.0. 319 * Version: 2.0.4 20 20 * Author: Dima W. 21 21 * Author URI: https://www.dimitri-wolf.de … … 25 25 * Text Domain: woo-title-limit 26 26 * Domain Path: /languages 27 * 27 * 28 * WC tested up to: 10.2.2 28 29 * WC requires at least: 3.0 29 * WC tested up to: 4.6.130 30 */ 31 31 … … 35 35 } 36 36 37 define( 'WOO_TITLE_LIMIT_VERSION', '2.0. 3' );37 define( 'WOO_TITLE_LIMIT_VERSION', '2.0.4' ); 38 38 39 39 /**
Note: See TracChangeset
for help on using the changeset viewer.