WordPress.org

Ready to get started?Download WordPress

Ideas

plugins should be developed with wp_debug set

  1. cubecolour
    ɹoʇɐɹǝpoɯ

    12345

    I think it would be beneficial to have a requirement that plugins hosted on WordPress.org should be tested with WP_DEBUG set to true. Many plugins are using deprecated code or have undefined variables and other warnings.

    All this would need is an additional line in the plugin guidelines that states this as a rule of inclusion. Then when plugins are found not to be in compliance, the plugin author can be referred to a page that explains how to deal with the common errors.

    Posted: 2 years ago #
  2. fuckofnickname
    Member

    12345

    +1

    Posted: 1 year ago #
  3. Clearly that would be a good feature to add, good thinking dude...

    Posted: 1 year ago #
  4. Tran Cuong
    Member

    12345

    Agree. The mechanism of adding plugins now is very loose

    Posted: 1 year ago #
  5. prophecy2040
    Member

    12345

    I think it would be more beneficial for WordPress to have a method to check the plugin (as a developer) to see if it is using any deprecated calls (like a new Admin Tab in the Repository, "Check My Plugin" or something. If a plugin is found to be using deprecated calls, the developer should be notified as such and given some suggestions on how to fix it.

    As a plugin developer, I know that it is sometimes difficult to keep up with WordPress changes - especially when you are offering more than one plugin to the WordPress community.

    I agree there should be some check, but I am not sure requiring WP_DEBUG testing is really the answer. It also makes it sound like developers are at fault - but we have no control over what WordPress decides to deprecate or replace, or when they decide to do it. You could have a plugin that is clean and free of deprecated calls, and 3 months later it could have 20 deprecated calls because it uses one recently deprecated function.

    I LOVE WordPress, and I like to help out the community, but if it got too difficult to offer my plugins to the world, I would stop supporting or developing them for everyone else, and just do it for myself. It takes a lot of time to keep plugins up to date between WP changes - that's why I think it would be better if they helped us out a bit by notifying us that something might be wrong with our plugin - or it might need to be updated.

    Thanks for listening.
    Don Fischer

    Posted: 1 year ago #
  6. Ipstenu (Mika Epstein)
    Administrator

    We;'re working on that, Don.

    Posted: 1 year ago #
  7. prophecy2040
    Member

    12345

    Thanks Mika!

    Regards,
    Don

    Posted: 1 year ago #
  8. LeyCosmica
    Member

    12345

    Here I show you my post on chat: http://www.wordpress.org/extend/ideas/topic/put-chat-on-wordpress

    Thanks!

    Posted: 1 year ago #
  9. Ipstenu (Mika Epstein)
    Administrator

    Sorry about the delay on approving posts. I've been extra busy.

    Stop posting so often and you'll stop getting caught as spam ;) It's not a complex system, but a lot of 'yeah!" and 'Me too!' posts trip the filter.

    Also? Posting plugin ideas here isn't a -core- WordPress idea.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    27 Votes
  • Status

    This is not a core suggestion