[wp-trac] [WordPress Trac] #42089: Function to detect if current page is a preview of a draft
WordPress Trac
noreply at wordpress.org
Thu Sep 4 13:54:53 UTC 2025
#42089: Function to detect if current page is a preview of a draft
-------------------------------+-------------------------
Reporter: paulschreiber | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Posts, Post Types | Version:
Severity: normal | Resolution: maybelater
Keywords: | Focuses:
-------------------------------+-------------------------
Changes (by SirLouen):
* status: new => closed
* version: 4.8.2 =>
* resolution: => maybelater
* milestone: Awaiting Review =>
Comment:
This seems to be pretty much the same as #42088 and the same answer but
using `draft` for the `$post_status`.
Same conclusion, time to close it as `maybelater`, but again I doubt this
should ever be added.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42089#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list