Partially works
-
Useful plugin, but it only partially works (using the block editor).
When one updates a post the limit modified date indicator is not yet available on the post (it hasn’t been saved yet). So when you first update it doesn’t work, but the second time it does.
And then when you switch it off, again it won’t work the first time but it will when you update again.
If you know this you can ‘sort of’ work around it.
The forks on GitHub suffer the same defect.
One solution to this is to hook into
rest_pre_insert_post
to get the limit modified date indicator prior to it being saved. If anyone needs this I’m happy to share on GitHub…
- The topic ‘Partially works’ is closed to new replies.