Changeset 3036605
- Timestamp:
- 02/15/2024 11:51:41 PM (2 years ago)
- Location:
- wc-external-product-new-tab/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wc-external-product-new-tab.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-external-product-new-tab/trunk/readme.txt
r3036597 r3036605 4 4 Requires at least: 6.1 5 5 Tested up to: 6.5 6 Stable tag: 1.0. 46 Stable tag: 1.0.5 7 7 License: GPLv3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 27 27 == Changelog == 28 28 29 = 1.0.5 - 15/02/24 = 30 * Added - HPOS compatibility. 31 29 32 = 1.0.4 - 21/05/22 = 30 33 * Added - noopener noreferrer to external links. -
wc-external-product-new-tab/trunk/wc-external-product-new-tab.php
r3036597 r3036605 4 4 * Plugin URI: https://wordpress.org/plugins/wc-external-product-new-tab 5 5 * Description: This plugin sets all external / affiliate product buy now links on a WooCommerce site to open in a new web browser tab. 6 * Version: 1.0. 46 * Version: 1.0.5 7 7 * Author: Stuart Duff 8 8 * Author URI: http://stuartduff.com … … 12 12 * Domain Path: /languages/ 13 13 * WC requires at least: 8.0 14 * WC tested up to: 8. 414 * WC tested up to: 8.6 15 15 * 16 16 * @package WC_External_Product_New_Tab … … 80 80 81 81 add_action( 'init', array( $this, 'plugin_setup' ) ); 82 83 // Declare HPOS compaibility. 84 add_action( 'before_woocommerce_init', array( __CLASS__, 'wc_declare_hpos_compatibility' ) ); 82 85 83 86 } … … 220 223 } 221 224 225 /** 226 * Declare HPOS compatibility. 227 * @since 1.0.5 228 * @return void 229 */ 230 public static function wc_declare_hpos_compatibility() { 231 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 232 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 233 } 234 } 235 222 236 } // End Class
Note: See TracChangeset
for help on using the changeset viewer.