WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
[resolved] Clash of function names with WP Publication Archive plugin (4 posts)

  1. ianchennell
    Member
    Posted 1 year ago #

    Hi,

    Just a heads-up about another plugin that risks interference with WPPA+.

    I've got WPPA+ 4.9.0 installed, and also another plugin called WP Publication Archive 2.5.3: http://jumping-duck.com/wordpress/plugins/wp-publication-archive/

    My latest round of plugin updates failed and partially crashed my WP site because both plugins declare a function called wppa_activate(). I've renamed the function in WP Publication Archive to wppa2_activate() on my WP site for now, which temporarily resolves the clash, but it will reoccur with the next update if the function names between these plugins aren't deconflicted. There may be other functions in both plugins that are at risk of future naming conflicts.

    Thought I'd best let you know, as these two plugins abbreviate identically! I'll also let the devs on WP Publication Archive know about WPPA+.

    Regards, Ian Chennell

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    I changed mine into wppa_activate_plugin() for the next version (4.9.1).

    As my plugin is very much bigger than WP Pub Arch, i hope they will take care to avoid further collisions in the future.

    Thanx for the report.

  3. Eric Mann
    Member
    Posted 1 year ago #

    I've changed all of my prefixes as well to prevent any further conflicts as of version 2.5.4.

    As my plugin is very much bigger than WP Pub Arch, i hope they will take care to avoid further collisions in the future.

    This is a non-issue. I actively fix known conflicts when they're made known to me. Merely having a plugin with more downloads than any I've built does not mean I automatically know it exists or investigate what prefixes you use in your code.

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 1 year ago #

    Thanx Eric!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic