WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Etiquette, Development, Clean up, and Testing (6 posts)

  1. Tim Berneman
    Member
    Posted 3 years ago #

    I have a couple questions on plugin development. If this is not the right place to post this then please move it to the correct place or correct me and I will move it!

    Q1: I have developed my first plugin and I would like feedback from a beta test group before submitting to the wordpress repository. Is there a system in place for beta testing?

    Q2: Is there a hook when deleting a plugin so I can delete the options from the database? Is it correct etiquette to delete the options or leave them in there?

    Tim :o]

  2. Tim Berneman
    Member
    Posted 3 years ago #

    Ipstenu:

    How would you go about beta testing then? Can I ask for testers in this forum or is that a no-no? Otherwise I suppose I could try twitter, facebook, etc.

    I read the info at the link which gave me the info on the WP-DBManager plugin and I ended up writing to Lester Chan who developed the plugin. I'm waiting for his response.

    Thanks for your input!

    Tim :o]

  3. You can ask in the forums. I usually ask the devs I've made friends with, post on Twitter, or just find people I remember being interested in something.

    Lester's 'retired' from active support, so it may be a while. The reason I suggested the link is that it's a great example of how a GOOD uninstall off the DB is done. You can download his code, see how he did it, and take the basics. After all, it's GPL :)

  4. Tim Berneman
    Member
    Posted 3 years ago #

    Duh, why didn't I think of that! I will reverse engineer his widget to see how it's done. I agree that we should completely delete all traces when they delete the plugin.

    Thanks again for your help!

    Tim :o]

  5. Tim Berneman
    Member
    Posted 3 years ago #

    Well, his plugin doesn't work the way I think it should. You can delete the plugin from the Plugins page but it seems to just delete the entry in the database leaving the plugin files. You have to "uninstall" from his admin menu on the left for it to actually remove the options and the files.

    Since all other plugins seem to leave their data in the wp_options table I'm going to do the same, unless I figure out how to hook into the delete widget process or Team WordPress gives us a hook to do clean-up when deleting a plugin. I'm going to search the forums and suggest that if it hasn't been requested yet.

    Thanks for all your help.

    Tim :o]

    PS: I'm going to leave email notify on in case someone has figured this out and posts on this topic.

Topic Closed

This topic has been closed to new replies.

About this Topic