Hi Boris, sorry for the delay!
The Plugin works with previously crerated pages – but with one small bug.
Let me explain:
1. Revision datas created before the plugin was activated are only the datas from standard WP. So changes done to the additional fields before the plugin was activated are not here. I think this is clear.
2. When the plugin is activated and you change an allready existing post, then the plugin adds the additional fields to the revisions (post_meta table). And, here comes the small bug, if we have only one revision with these additional fields, then we can’t compare this, because we have only one set of additiona revision fields.
3. If you change the post a scond time, then the plugin creates a second revison with all the additional fields – and from this time on, we have enought revision-sets to compare and the plugin works as expected.
So, i think its not really a bug – its more the way the plugin works – and after the second change it works also with the previousely created pages.
But i could do it better – yes.
I will keep an eye on it, when I will rewirte the plugin for wordpress 5.0 and above.
Cheers!
-
This reply was modified 5 years, 11 months ago by slehner.