When I install this – if I already have 100 revisions, will the next save delete the first 96 revisions and only keep the last 5 or does this only work on revisions saved whilst the plugin was active?
I guess my question is – does this also act as a revision cleaner as well as a revisions manager?
]]>Hello.
I’ve just installed your plugin. It’s good idea to set revision options by plugin, not by defines.
However, I have my WordPress installation in directory. It means that my root directory is not the same as the root directory for WordPress. In my case I have my WordPress installation in “www” directory.
When I use your plugin, there is an error:
Warning: file_get_contents(//wp-config.php): failed to open stream: No such file or directory in /www/wp-content/plugins/wp-revisions-limit/admin/class-wp-revisions-limit-admin.php on line 188
It looks like that your plugin requires use when WordPress is in root directory, not in subdirectory. I think you can use one of the WordPress functions to obtain the root directory for WordPress, because some people has WordPress in subdirectories.
I’ve checked your plugin in WordPress in root directory and it works good. So I think it is the problem which I described above.
Thank you.
]]>