WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #20496, comment 11


Ignore:
Timestamp:
04/30/12 19:03:36 (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20496, comment 11

    v1 v2  
    11Ah, I see. So this would only cover the cases where a preview link was opened by another user, then the original author has published the post and the other user refreshes the preview page instead of going to the permalink for the published post. Seems like quite rare edge case. 
     2 
     3Right, the solution seems to be to disregard `preview=true` for published posts when there's no `preview_nonce`.