Bird
0
0

What will be the status of a post if you set post_date to a future date but post_status to publish when inserting a post?

medium📝 component behavior Q13 of 15
Wordpress - Content Management
What will be the status of a post if you set post_date to a future date but post_status to publish when inserting a post?
AThe post will be saved as <code>draft</code>
BThe post will be published immediately
CThe post will remain as <code>publish</code> but not visible
DThe post status will automatically change to <code>future</code>
Step-by-Step Solution
Solution:
  1. Step 1: Understand interaction of post_date and post_status

    If post_date is in the future, WordPress changes status to future automatically.
  2. Step 2: Check what happens if post_status is set to publish

    WordPress overrides publish to future for future dates to schedule the post.
  3. Final Answer:

    The post status will automatically change to future -> Option D
  4. Quick Check:

    Future date + publish status = future status [OK]
Quick Trick: Future date forces status to 'future' even if 'publish' set [OK]
Common Mistakes:
MISTAKES
  • Assuming post publishes immediately
  • Thinking status stays 'publish' but hidden
  • Believing it saves as draft

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes