• 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)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Depracated capabilities warning’ is closed to new replies.