WordPress.org

Ready to get started?Download WordPress

Forums

Postie
[resolved] WP_POST_REVISIONS (10 posts)

  1. Robert S
    Member
    Posted 1 year ago #

    Hi,

    I'd like to report an issue with WP Postie that is causing a clash with one of my other plugins.

    File 'postie-functions.php' has defined WP_POST_REVISIONS without checking if the constant is defined already.

    Is it not best practice for a plugin to always check before setting a constant in WP?

    Regards,

    Robert

    http://wordpress.org/extend/plugins/postie/

  2. Robert S
    Member
    Posted 1 year ago #

    Very disappointing this issue has not yet been addressed by the author - especially in the recent round of fixes.

  3. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry Robert. I'll get this fixed in the next release.

  4. Robert S
    Member
    Posted 1 year ago #

    Thanks, that would be greatly appreciated.

  5. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    I just checked the source and WP_POST_REVISIONS is not defined or referenced in Postie 1.4.5 (the current release)

  6. Robert S
    Member
    Posted 1 year ago #

    Thanks. Will test.

  7. Robert S
    Member
    Posted 1 year ago #

    Getting this error on plugin activation:

    "The plugin generated 231 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

  8. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have WP_DEBUG set to TRUE?

  9. Robert S
    Member
    Posted 1 year ago #

    Turned off now and all working well.

    Thanks!

  10. Wayne Allen
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.