Use shortlink when post is not published.
Merge branch 'fix-email-nonce'