Changeset 3061042
- Timestamp:
- 03/29/2024 10:24:32 AM (2 years ago)
- Location:
- ffl-api/trunk
- Files:
-
- 1 deleted
- 2 edited
-
README.txt (modified) (2 diffs)
-
ffl-api.php (modified) (3 diffs)
-
plugin-update-checker (deleted)
Legend:
- Unmodified
- Added
- Removed
-
ffl-api/trunk/README.txt
r2957890 r3061042 3 3 Tags: FFL, eCommerce checkout, WooCommerce, FFL gun dealers, map api, google maps, gun dealer, FFL dealers 4 4 Requires at least: 5.0 5 Tested up to: 6. 36 Requires PHP: 7. 07 Stable tag: 1.6. 05 Tested up to: 6.4 6 Requires PHP: 7.3 7 Stable tag: 1.6.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 180 180 181 181 == Changelog == 182 v1.6.1 Compatibility with Woocommerce HPOS 182 183 v1.6.0 Admin panel input hint updates 183 184 v1.5.9 Added FFL info pop-up visibility option -
ffl-api/trunk/ffl-api.php
r2957891 r3061042 17 17 * Plugin URI: fflapi.com 18 18 * Description: FFL API Woocommerce plugin 19 * Version: 1.6. 019 * Version: 1.6.1 20 20 * WC requires at least: 3.0.0 21 21 * WC tested up to: 6.1 … … 78 78 */ 79 79 require plugin_dir_path(__FILE__) . 'includes/class-ffl-api.php'; 80 require plugin_dir_path(__FILE__) . 'plugin-update-checker/plugin-update-checker.php';81 82 $myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(83 'https://wp-plugin-update.opt7dev.com/?action=get_metadata&slug=ffl_woocommerce_plugin',84 __FILE__, //Full path to the main plugin file or functions.php.85 'ffl_woocommerce_plugin'86 );87 88 80 require_once plugin_dir_path(__FILE__) . 'wp-dynamic-css/bootstrap.php'; 89 81 … … 105 97 wp_dynamic_css_set_callback('ffl_dynamic_style', 'ffl_dynamic_css_callback'); 106 98 99 // compatible with HPOS 100 add_action( 'before_woocommerce_init', function() { 101 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 102 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 103 } 104 } ); 105 107 106 /** 108 107 * Begins execution of the plugin.
Note: See TracChangeset
for help on using the changeset viewer.