Plugin Directory

Changeset 3061042


Ignore:
Timestamp:
03/29/2024 10:24:32 AM (2 years ago)
Author:
optimum7
Message:

v1.6.1

Location:
ffl-api/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • ffl-api/trunk/README.txt

    r2957890 r3061042  
    33Tags: FFL, eCommerce checkout, WooCommerce, FFL gun dealers, map api, google maps, gun dealer, FFL dealers
    44Requires at least: 5.0
    5 Tested up to: 6.3
    6 Requires PHP: 7.0
    7 Stable tag: 1.6.0
     5Tested up to: 6.4
     6Requires PHP: 7.3
     7Stable tag: 1.6.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    180180
    181181== Changelog ==
     182v1.6.1 Compatibility with Woocommerce HPOS
    182183v1.6.0 Admin panel input hint updates
    183184v1.5.9 Added FFL info pop-up visibility option
  • ffl-api/trunk/ffl-api.php

    r2957891 r3061042  
    1717 * Plugin URI:        fflapi.com
    1818 * Description:       FFL API Woocommerce plugin
    19  * Version:           1.6.0
     19 * Version:           1.6.1
    2020 * WC requires at least: 3.0.0
    2121 * WC tested up to:   6.1
     
    7878 */
    7979require 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 
    8880require_once plugin_dir_path(__FILE__) . 'wp-dynamic-css/bootstrap.php';
    8981
     
    10597wp_dynamic_css_set_callback('ffl_dynamic_style', 'ffl_dynamic_css_callback');
    10698
     99// compatible with HPOS
     100add_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
    107106/**
    108107 * Begins execution of the plugin.
Note: See TracChangeset for help on using the changeset viewer.