Revert "Fix up issue with preview."

Necessary component to generating preview links for posts with custom statuses

This reverts commit ac462ad13815a0152566b8b5454ac805b96c2536.
Remove unused third argument
Consolidate this code to a common method
Merge pull request #226 from Automattic/fix-preview-link-226

Preview link broken for posts assigned a custom status