Support » Plugin: Custom Product Tabs for WooCommerce » Gracefully ajax fallback issue

  • Resolved Mikkel Rommelhoff

    (@mrommel)


    Hi there,

    I noticed that in the file:
    /wp-content/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/admin/class.yikes-woo-tabs.php
    Line: 329

    There is a “gracefully” JS error handling. But the function “wp_send_json_failure” does not exists in the WordPress framework or in the plugin it self.
    I think the function you are looking for os the “wp_send_json_error” which is also in action on line 320 (same file.

    Cheers
    Rommel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi Rommel.

    Well, that’s embarrassing 🙂

    You’re absolutely correct. This fictitious function is used in another file in the plugin as well.

    I’ll fix that right now and it will be included in our next release.

    Thank you,
    Kevin.

    Thread Starter Mikkel Rommelhoff

    (@mrommel)

    Hi yikesitskevin

    Great to hear it will be in the next version!
    It’s not embarrassing at all – it happens for everyone who has a lot on their plate (which im sure you guys have) 😉

    Have a great day!
    Mikkel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gracefully ajax fallback issue’ is closed to new replies.