WP CLI switching post status from publish to future not working?
You have to supply post_modified and post_modified_gmt to a date in the future. Otherwise the “future” date will be in the past, and the post will become published. For example: wp post update 6868 –post_status=future –post_date=”2023-08-26 15:11:29″ –post_date_gmt=”2023-08-26 22:11:29″