Title: Update jetpack function
Last modified: July 9, 2021

---

# Update jetpack function

 *  Resolved [Brandon Kraft](https://wordpress.org/support/users/kraftbj/)
 * (@kraftbj)
 * Code Wrangler
 * [4 years, 10 months ago](https://wordpress.org/support/topic/update-jetpack-function/)
 * Howdy!
 * I’m a developer for Automattic working on Jetpack. I noticed that you’re using
   the `jetpack_photon_parse_url` function in `frontend/class-frontend.php` L65.
 * We’re looking at removing this function from Jetpack as `wp_parse_url` is fully
   compatible with it. `wp_parse_url` in WP 4.7 was updated to include the second
   argument and since that’s your minimum WP version, everyone running the latest
   version of your plugin should be able to use `wp_parse_url` instead of the `jetpack_photon_parse_url`
   function.
 * We can punt removing the function for a bit to allow your users to update to 
   a newer version, but please do let me know when you’d expect to be able to update
   it so I can note it in our internal docs.
 * Please let me know if you have any questions and thank you!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/update-jetpack-function/#post-14650611)
 * Thanks for the reminder. I was using that in a filter jetpack_photon_skip_for_url
   as jetpack was breaking external Eventbrite images by trying to optimise them.
 * I have to admit I haven’t tested recently to see if Jetpack has improved in this
   area so I’ll leave that filter in for the moment.
 * I have changed to wp_parse_url now in the dev code line.

Viewing 1 replies (of 1 total)

The topic ‘Update jetpack function’ is closed to new replies.

 * ![](https://ps.w.org/widget-for-eventbrite-api/assets/icon-256x256.jpg?rev=2863321)
 * [Display Eventbrite Events](https://wordpress.org/plugins/widget-for-eventbrite-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-for-eventbrite-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-for-eventbrite-api/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-for-eventbrite-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-for-eventbrite-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-for-eventbrite-api/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/update-jetpack-function/#post-14650611)
 * Status: resolved