WordPress-Simple-History icon indicating copy to clipboard operation
WordPress-Simple-History copied to clipboard

Check that post status is updated correctly

Open bonny opened this issue 1 year ago β€’ 0 comments

From support forum

  • Publishing/de-publishing on the usual edit post page: fully covered by Simple History
  • Schedule publishing in the future on the usual edit post page: scheduled status seems to be covered by Simple History, but when the publishing actually happens isn’t
  • Change status through Quick Edit on the listing page: Simple History appears to cover everything but the status change
  • Change status through Bulk actions > Edit on the listing page: Simple History appears to cover everything but the status change

Investigation

Plugin does not take into consideration that future posts get status future and that a cron job changes that to publish. Interesting hooks and functions: hook publish_future_post, _future_post_hook, check_and_publish_future_post().

bonny avatar Jun 09 '23 08:06 bonny