[wp-trac] [WordPress Trac] #43570: preview draft access denied html status code is 500 instead of 401

WordPress Trac noreply at wordpress.org
Wed Jan 16 03:53:47 UTC 2019


#43570: preview draft access denied html status code is 500 instead of 401
-------------------------------+---------------------
 Reporter:  graymouser         |       Owner:  pento
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  5.1
Component:  Posts, Post Types  |     Version:  2.7
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+---------------------
Changes (by pento):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44610" 44610]:
 {{{
 #!CommitTicketReference repository="" revision="44610"
 Posts: Set a HTTP 403 error when an incorrect post preview nonce is sent.

 Props graymouser.
 Fixes #43570.
 }}}

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


More information about the wp-trac mailing list