Wordpress/tests
John Blackbourn 5ab0154647 Comments: When commenting on a draft post, display a friendly error message if the user can view the post.
This prevents the unhelpful white screen of death when a user who can view the post (eg. preview it) leaves a comment while the post is in draft.

Props sagarprajapati, milindmore22, mayurk, swissspidy
Fixes #39650


git-svn-id: https://develop.svn.wordpress.org/trunk@40128 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-27 00:22:02 +00:00
..
phpunit Comments: When commenting on a draft post, display a friendly error message if the user can view the post. 2017-02-27 00:22:02 +00:00
qunit REST API: Update the client test fixtures after changes to post formats. 2017-02-25 04:45:52 +00:00