How can I remove CSS revisions in the CSS Plugin?
I’m seeing revisions on the right side in the CSS plugin, but I didn’t see any way to remove old revisions. How can I do this?
Gary
How can I remove CSS revisions in the CSS Plugin?
I’m seeing revisions on the right side in the CSS plugin, but I didn’t see any way to remove old revisions. How can I do this?
Gary
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Gary
Old revisions are automatically removed. I can’t remember the exact number, but I think the plugin will store the 10 latest revisions. The storage overhead is very small and there’s no CPU or Memory overhead to storing these revisions, so it should be a major issue.
Is there any reason you want to remove old revisions?
Greg,
Thanks for your reply. I just like a bit more control when it comes to things that are automatically stored, backedup, etc.
I guess, I would just like and prefer the following with this.
1. The ability to set (from 0 to 99) the number of CSS revisions that are kept. This way I can control this. (This would then allow for either none, or the number chosen, to retain that amount of revisions.)
2. And, I would like the ability to click somewhere to delete all the backed up revisions.
3. Can you tell me where the revisions are stored? (Hopefully not in the database. But please let me know. I was curious if and where the individual backed up revisions are stored.) It might also be great if we could specify a location (folder) where the backups are to be stored.
Any thoughts?
Thanks,
Gary
PS: I noticed if I set the font size to em .. and start with 1 .. it goes from 1 to 2, etc. Just a recommendation. I think it would be great if it would increase (when you click on the + sign, etc., to increase by
.1 so it would go up and down in this increment as opposed to a whole number.
Hi Gary
Thanks for all the suggestions. I’ve marked this as a feature request – I’ll go through it again when I’m working on SiteOrigin CSS for some ideas. I do like the idea of giving more control over revisions.
To answer your question – the revisions are stored in the database, but again, they use relatively little space and they’re not auto loaded. Storing files for revisions in WordPress can have some problems, especially around file permissions. the WP_Filesystem class actually asks for FTP login credentials if it’s unable to access the filesystem – which can be a bit of a pain.
SiteOrigin CSS is on Github, so we’re open to pull requests if you or anyone else wants to make these changes :)