[Plugin: Post Type Switcher] Not saving revisions
-
When activated, no revisions seem to be saved unless you deactivated it.
I solved it by adding the two following lines of code in pts_save_post:
if( $post->post_type == 'revision' ) return;
That seems to have fixed it
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Post Type Switcher] Not saving revisions’ is closed to new replies.