• Resolved Bryan Willis

    (@codecandid)


    my_plugin_activate and my_plugin_redirect appear outside the scope of the classes and need more unique names. I’ve ran into a lot of plugins the past few years that use these names ( I believe they appear in the codex examples ). Anyway, the plugin will break if their are any other functions named my_plugin_activate or my_plugin_redirect

    One plugin I know off top of my head that also uses those functions is YouTube Plus

    Anyway, thought I would let you know.

    https://wordpress.org/plugins/users-ultra/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Plugins Area

    (@usersultra)

    Hello codecandid,

    Thank you very much for your contribution. The new version with the tweak should be up in 10 minutes or so.

    We highly appreciate your opinions about the plugin 🙂

    I’m marking this post as resolved. Please feel free to open a new thread if you have any further questions-

    Have a great weekend
    Best Regards
    Alex

Viewing 1 replies (of 1 total)
  • The topic ‘Naming Conventions’ is closed to new replies.