[wp-trac] [WordPress Trac] #42088: Function to detect if current page is a scheduled post (is_scheduled() or is_future())

WordPress Trac noreply at wordpress.org
Thu Sep 4 13:51:54 UTC 2025


#42088: Function to detect if current page is a scheduled post (is_scheduled() or
is_future())
-------------------------------+-------------------------
 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:

 It seems that after 8 years, this hasn't had much traction
 Also, we could be using `if ( get_post_status() === ‘future’)` since
 `$post` can be omitted in the loop.
 I am not sure how this function will be much more useful, feels redundant
 and doesn't provide a lot of value.
 I'm closing this as `maybelater`, in case there is more interest, but I
 seriously doubt this should be ever implemented.

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


More information about the wp-trac mailing list