Plugin Directory

Changeset 3236374


Ignore:
Timestamp:
02/07/2025 06:18:07 AM (14 months ago)
Author:
keylorcr
Message:

Fix woo initialization

Location:
wc-provincia-canton-distrito
Files:
20 added
3 edited

Legend:

Unmodified
Added
Removed
  • wc-provincia-canton-distrito/trunk/includes/wcpcd-class.php

    r3231706 r3236374  
    33 * WPCD Class
    44 *
    5  * @version 1.5.1
     5 * @version 1.5.2
    66 * @since 1.0.x
    77 */
     
    371371}
    372372
    373 return WC_PROV_CANT_DIST::get_instance();
     373add_action( 'woocommerce_init', function() {
     374    WC_PROV_CANT_DIST::get_instance();
     375} );
  • wc-provincia-canton-distrito/trunk/readme.txt

    r3231706 r3236374  
    55Requires at least: 4.7
    66Tested up to: 6.7.1
    7 Stable tag: 1.5.1
     7Stable tag: 1.5.2
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6262
    6363== Changelog ==
     64= 1.5.2 =
     65* Fix: WC initialization using hook woocommerce_init
     66
    6467= 1.5.1 =
    6568* Update: Language loaded from init action in wcpcd_language_init
  • wc-provincia-canton-distrito/trunk/wc-prov-cant-dist.php

    r3231706 r3236374  
    44 * Plugin URI: https://keylormendoza.com/woocommerce/wc-provincia-canton-distrito/
    55 * Description: This plugin allows you to populate your custom states, cities, and postcodes for WooCommerce. It started working only for Costa Rica but now it is compatible with multi countries.
    6  * Version: 1.5.1
     6 * Version: 1.5.2
    77 * Requires at least: 4.7
    88 * Tested up to: 6.7.1
    99 * WC requires at least: 3.0
    10  * WC tested up to: 9.6.0
     10 * WC tested up to: 9.6.1
    1111 * Author: Keylor Mendoza A.
    1212 * Author URI: https://www.keylormendoza.com
    1313 * License: GPLv2
    1414 * Text Domain: wc-prov-cant-dist
     15 * Requires Plugins: woocommerce
    1516 */
    1617
     
    1819
    1920if ( !defined( 'WPCD_PLUGIN_VERSION' ) ) {
    20     define( 'WPCD_PLUGIN_VERSION', '1.5.1' );
     21    define( 'WPCD_PLUGIN_VERSION', '1.5.2' );
    2122}
    2223
Note: See TracChangeset for help on using the changeset viewer.