• Resolved Greg Ross

    (@gregross)


    One line 99 (of version 1.2) you call add_users_page() with a capability parameter of 8, this throws a depracated warning as numerical capabilities have been deprecated since WP 2.0.

    Replacing it with the appropriate capability (remove_users?) fixes the problem.

    Do you have a github repo for the plugin, I’d be happy to create a PR if you do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shra

    (@shra)

    Thanks! But “remove_users” requires at least WP 3.0, I will try “delete_users” (since WP 2.1).

    Thread Starter Greg Ross

    (@gregross)

    Sounds good.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Depracated capabilities warning’ is closed to new replies.