Changes between Initial Version and Version 1 of Ticket #39340, comment 11
- Timestamp:
- 04/03/2020 02:39:45 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39340, comment 11
initial v1 1 1 In my testing, seems that `check_and_publish_future_post` is not invoked on some posts also if should do it. 2 As this hook is instantiated only on upgrade https://github.com/WordPress/WordPress/search?q=publish_future_post&unscoped_q=publish_future_post and the event is removed on deleting the post https://github.com/WordPress/WordPress/blob/7004afe4f4bac1fd17a142051832bdf6be8e6fcf/wp-includes/post.php#L3059 2 The event is removed on deleting the post https://github.com/WordPress/WordPress/blob/7004afe4f4bac1fd17a142051832bdf6be8e6fcf/wp-includes/post.php#L3059 but I cannot see any mention of that execution. 3 3 4 4 Maybe that hook should be fired more often? It can explain why they appear as post but no cron is executed for them.