Plugin breaks post and page previews
-
Given one of the below URLs, this plugin will sometimes hijack the preview URL and redirect to a post instead. Probably when a new post partially matches another existing post ID? Something like that.
https://www.example.com/?p=576&preview=true
https://www.example.com/?page_id=576&preview=true
I think it’s missing a
!is_preview()
conditional somewhere.
- The topic ‘Plugin breaks post and page previews’ is closed to new replies.