The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Duplicate Post
[resolved] Deprecated Notice on Upgrade (3 posts)

  1. sparkweb
    Posted 4 years ago #

    @lopo, nice work on the plugin lately. I noticed that on my install, going from 2.1 to 2.1.1 when the upgrade function fired I got deprecated warnings about the add_option. Of course now I can't get it to go again, but it said something like: "there was an error in the way that add_option was called - deprecated since 2.3". It referenced a line in functions.php. You might look at the deprecated option in http://codex.wordpress.org/Function_Reference/add_option - I think the add_option() in duplicate-post/duplicate-post-admin.php might need a little work.

    But.... you are doing a really nice job on this plugin. I've recommended it alongside my own for quite a while and really appreciate the improvements you've made to it lately.

    Have you thought about adding a do_action() that other developers could hook on to for other extended functionality with other plugins?


  2. Lopo
    Plugin Author

    Posted 4 years ago #

    thank you for your help, those lines are among the oldest ones in the plugin so I didn't see that the parameter (which absolutely un-needed) had become deprecated. Fixed it!

    About you question, I put there two hooks whose documentation is under "Other notes" here. I think this is what you have in mind, feel free to comment about them, as always every suggestion and correction is appreciated!


  3. sparkweb
    Posted 4 years ago #

    Yup, that's just what I was looking for. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Duplicate Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic