Title: Code compatibility
Last modified: April 6, 2020

---

# Code compatibility

 *  Resolved [franciscus](https://wordpress.org/support/users/franciscus/)
 * (@franciscus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-compatibility/)
 * I have developed an add-on for my private use, with the intention on some day
   publishing it.
    Some time ago, one of my add-on’s functionalities stopped working
   because the code was invoking Newsletter::save_sent(), which –as I discovered–
   has been replaced with save_sent_message(). While debugging and fixing that problem,
   I noticed that function register_mail_method(), which I am also using, is now
   marked “deprecated since version 6.0.0”, so I am afraid it may disappear as well.
   I understand the need to evolve software, but I am left with the question as 
   to how add-on developers are supposed to keep up with the changes: – Were these
   changes announced somewhere that I should have looked? I don’t remember seeing
   them in the release notes. – Are there other, equivalent but stable APIs that
   I should be using instead? Thank you.
 * P.S. I also posted this on the private forum, but didn’t get any reply.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-compatibility/#post-12638908)
 * Hi, sorry for this long delay. Could you help me understanding your integration?
   So we can find out the correct way or even add more “hooks” to Newsletter to 
   preserve compatibility over time.
 * We can discuss here or contact me privately at stefano[at]thenewsletterplugin.
   com
 * Thank you, Stefano.
 *  Thread Starter [franciscus](https://wordpress.org/support/users/franciscus/)
 * (@franciscus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-compatibility/#post-12640839)
 * I’ll send you an email.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Code compatibility’ is closed to new replies.

 * ![](https://ps.w.org/newsletter/assets/icon-256x256.png?rev=1052028)
 * [Newsletter - Send awesome emails from WordPress](https://wordpress.org/plugins/newsletter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter/reviews/)

## Tags

 * [deprecated functions](https://wordpress.org/support/topic-tag/deprecated-functions/)

 * 2 replies
 * 2 participants
 * Last reply from: [franciscus](https://wordpress.org/support/users/franciscus/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/code-compatibility/#post-12640839)
 * Status: resolved