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

  1. petskratt
    Posted 3 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?)


  2. cageehv
    Plugin Author

    Posted 3 years ago #

    Hi Petskratt!

    Thanks for your feedback.

    Just released version 1.0.5 which solves the problems you mentioned.


    Rolf van Gelder

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Optimize Database after Deleting Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.