• Resolved Chris

    (@web2guru)


    The redirect function should have a more unique name so it doesn’t cause conflicts. All plugins should make sure all of their functions names are unique, so I posted this on another plugin that uses the same function name (Dooodl).

    Fatal error: Cannot redeclare redirect() in /wp-content/plugins/adminer/inc/adminer/include/functions.inc.php on line 512

    https://wordpress.org/plugins/adminer/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    Unique function is not so easy. This plugin use a project, this works outside from WordPress and include only the functionality. If I like to change to namespace then is the effort to big.

Viewing 1 replies (of 1 total)
  • The topic ‘Please Use Unique Function Names’ is closed to new replies.