Support » Plugin: WP Google Maps » Bug on WooCommerce setup with fix

  • Resolved overclokk


    I had an issue on WooCommerce first setup and I solved with thoose line of code at line 759 of wpGoogleMaps.php:

    function wpgmza_plugin_row_js(){
        $current_page = get_current_screen();
         * Setup page of WooCommerce
         * wp-admin/index.php?page=wc-setup
        if ( ! $current_page ) {
        if ( $current_page->base == 'plugins' ) {
            wp_register_script( 'wpgmza_plugin_row_js', WPGMAPS_DIR.'js/wpgmaps_plugin_row.js', array( 'jquery-ui-core' ) );
            wp_enqueue_script( 'wpgmza_plugin_row_js' );
            wp_localize_script( 'wpgmza_plugin_row_js', 'wpgmza_sub_nonce', wp_create_nonce("wpgmza_subscribe") );
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DylanAuty


    Hi @overclokk,

    Thank you so much for getting in touch, we really do appreciate your time.

    I am passing this fix on to one of the lead developers, who will review the fix and implement this in our next update.

    We really do appreciate you taking the time to share this solution with us this improves the overall experience for all users.

    You’re welcome 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug on WooCommerce setup with fix’ is closed to new replies.