Plugin Contributor
cageehv
(@cageehv)
Hey new_wordpress_user,
So, after running the plugin all 8 revisions are still there?
It confirmed that it had not been clean up since 27 March 2015, which ties in with your last update.
Not sure where that confirmation is… Where / when do you see that?
I assume you have revisions enabled for your custom post_type’s?
Like (when registering that post_type):
'supports' => array( 'title', 'editor', 'revisions' ),
Do you see the revisions of the custom posts while running the query:
SELECT * FROM xxx_posts WHERE post_type = 'revision'
(replace the xxx_ with your own prefix)
I’ve tested it on my own dev site and everything worked as expected.
Please let me know! Thanks.
peace,
Rolf
Hi
Sorry if I wasn’t clear in my last post.
When the plugin runs by the scheduler, it doesn’t include custom posts.
When ran manually, it cleaned up all posts
custom posts.
Plugin Contributor
cageehv
(@cageehv)
Hey new_wordpress_user,
Thanks for the clarification.
I will have a look at the scheduler then…
peace,
Rolf
Plugin Contributor
cageehv
(@cageehv)
Hey new_wordpress_user,
You, indeed, caught a bug! Good catch!
I released a new version (v3.3.1) with a fix for the bug.
Thanks for your feedback!
peace,
Rolf