Fix post previews for multisite with domain mapping
|Reported by:||azaozz||Owned by:|
|Component:||Posts, Post Types||Keywords:|
Currently when previewing latest changes we create a nonce in the admin, then redirect to the front-end and check that nonce on 'init' before showing the preview. This fails sometimes on multisite with domain mapping as they may use JS redirects to log the user in on the front-end.