[Plugin: Revision Control] Fixed revision delete redirect
-
The only thing that didn’t work for me in this plugin was that I got sent to a blank screen after I deleted a post revision. It deleted the revision but I had to click back in the browser and refresh the page. It seems there is a redirect function in there that didn’t work for me.
The broken function is at line #273. Here it is.
wp_safe_redirect(wp_get_referer());
I don’t know why it is not working but I changed it to this.
wp_redirect( $_SERVER['HTTP_REFERER'] ); exit;
It now redirects you back to the post you were editing and you can see the revision is no longer there.
I tried to contact the developer but the plugin page and contact form are now giving 404 errors.
https://www.ads-software.com/extend/plugins/revision-control/
- The topic ‘[Plugin: Revision Control] Fixed revision delete redirect’ is closed to new replies.