Support » Plugin: GD Star Rating » [Plugin: GD Star Rating] has_cap deprecated

  • Hi Milan,

    Fantastic plugin! I just installed it on my dev site which is running with debug mode on and I noticed TONS of warnings all over the place. Most of them are:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /xxxxxxx/httpdocs/wp-includes/functions.php on line 3551

    I think it should be current_user_can() instead.

    This doesn’t really affect functionality on a front-facing site but it makes it pretty tough to use in the backend. It’s actually a really good idea to develop with debug mode turned on (turn it on in wp-config.php).

    Thanks for listening to my little rant.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: GD Star Rating] has_cap deprecated’ is closed to new replies.