WordPress.org

Ready to get started?Download WordPress

Forums

Optimize Database after Deleting Revisions
[resolved] has_cap warning (when debug enabled) (2 posts)

  1. petskratt
    Member
    Posted 2 years ago #

    When debug messages are allowed WP displays 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.

    That's from using user level 8 on line 18 - should be 'administrator' I guess...

    btw, one more warning - Notice: Undefined variable: operation in .../wp-content/plugins/rvg-optimize-database/rvg-optimize-db.php on line 97 (presumably a totally abandoned line of code?)

    http://wordpress.org/extend/plugins/rvg-optimize-database/

  2. cageehv
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Petskratt!

    Thanks for your feedback.

    Just released version 1.0.5 which solves the problems you mentioned.

    Enjoy!

    Rolf van Gelder

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.