Title: Plugin 1.7 uses deprecated function clean_url()
Last modified: August 21, 2016

---

# Plugin 1.7 uses deprecated function clean_url()

 *  Resolved [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-17-uses-deprecated-function-clean_url/)
 * In `function post_updated(..)` the deprecated function `clean_url()` is used 
   to get permalink and edit-link.
 * This causes a PHP Notice like `Notice: clean_url() has been deprecated...` if`
   WP_DEBUG` is enabled.
 * Suggested fix: Replace `clean_url()` with `esc_url()`
 * [http://codex.wordpress.org/Function_Reference/clean_url](http://codex.wordpress.org/Function_Reference/clean_url)
   
   [http://codex.wordpress.org/Function_Reference/esc_url](http://codex.wordpress.org/Function_Reference/esc_url)
 * [http://wordpress.org/plugins/email-post-changes/](http://wordpress.org/plugins/email-post-changes/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-17-uses-deprecated-function-clean_url/#post-4355254)
 * That’s fixed in trunk now, thanks for pointing it out.

Viewing 1 replies (of 1 total)

The topic ‘Plugin 1.7 uses deprecated function clean_url()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-post-changes.svg)
 * [Email Post Changes](https://wordpress.org/plugins/email-post-changes/)
 * [Support Threads](https://wordpress.org/support/plugin/email-post-changes/)
 * [Active Topics](https://wordpress.org/support/plugin/email-post-changes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-post-changes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-post-changes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-17-uses-deprecated-function-clean_url/#post-4355254)
 * Status: resolved