WordPress.org

Support

Support » Plugins and Hacks » Peter's Login Redirect » [Plugin: Peter's Login Redirect] have got a notice after activating

[Plugin: Peter's Login Redirect] have got a notice after activating

Viewing 4 replies - 1 through 4 (of 4 total)
  • Notice in english will look like this:

    Notice: Function has_cap is called with argument which is considered obsolete since version 2.0! Using users’ levels in plugins and themes considered obsolete. Use roles and abilities.. in

    It is the add Menu call usually –
    remove user level and use capabilities instead.

    Actually would be really great if you would develop with wp-debug switched on as your plugin spews a bunch of notices.

    Good practice to deal with these as addressinf them can prevent weird bugs due to unset variables.

    Thank you for advise.

    Plugin Author Peter

    @pkthree

    Thanks all for pointing that out. I’ve done some code cleanup which should remove those notices in version 2.1.1 of the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Peter's Login Redirect] have got a notice after activating’ is closed to new replies.
Skip to toolbar