• Resolved Brandon Kraft

    (@kraftbj)


    Code Wrangler

    Howdy!

    I’m a developer over at Automattic working on Jetpack. We’re looking at removing some deprecated functions and see that you’re still using one: Jetpack::is_staging_site in includes/admin/class-geodir-admin-tracker.php L114.

    WooCommerce has put together a good way to both utilize the newer function (from 18 months ago) while also falling back in a graceful way to the older function for sites with outdated versions of Jetpack using it. You can see their approach at https://github.com/woocommerce/woocommerce/blob/bcadf9d264b4be453ba8f2545d5775a7b41d68b2/includes/class-wc-tracker.php#L99-L109

    If you’d like us to hold off removing the function for a little bit of time to give your users time to update, please let me know. Since you have suitable checking to make sure the function is available (thank you!), we can remove it without breaking our mutual users’ sites—just your tracking will be incorrect.

    Please let me know if you have any questions. Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Update Jetpack function’ is closed to new replies.