[wp-trac] [WordPress Trac] #39650: Commenting on a draft post results in blank page

WordPress Trac noreply at wordpress.org
Mon Feb 27 00:22:04 UTC 2017


#39650: Commenting on a draft post results in blank page
--------------------------------------+--------------------------
 Reporter:  sumitbagthariya16         |       Owner:  johnbillion
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40128"]:
 {{{
 #!CommitTicketReference repository="" revision="40128"
 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
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39650#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list