Reply To: Too many "revision" statements – How to remove all but 1
That crashed my sight for some reason. Any thoughts?
Did you place the code snippet I placed earlier correctly?? It seems to work fine on my test site.
Same thing goes for @pinkishhue‘s code.
These both work if you want to show only 1 revision log on the Frontend of your forums.
But first, is there going to be an update to bbpress that will remove the extra revision statements? If so, any thoughts on when this will be ready?
Not really remove the statements, but just make 1 visible. Have no idea when @netweb’s code will make it into core.
Do you want them all gone?? This topic is all about just having one visible on the frontend.
Also there might be a bug about the revisions somewhere I think. Haven’t fully checked that one out though.
But you can always disable the revision logging from being displayed in the forums in Settings > Forums, there will still be revisions on the edits in the backend though, since it is a post type in WordPress. And hide the existing revisions with CSS using the first half of pinkishhue’s code.
There is a way to limit the total number of revisions kept per post though in WordPress.
But if you do want to completely remove the revisions you can use a plugin that @casiepa listed, but this may remove ALL revisions of any post or plugin using the revision system in WordPress. Some custom css plugins may use it, and clearing the revisions may lose all your saved styles.