[wp-trac] [WordPress Trac] #56048: Add error logging and hooks to wp-cron.php

WordPress Trac noreply at wordpress.org
Tue Jul 12 21:20:00 UTC 2022


#56048: Add error logging and hooks to wp-cron.php
-------------------------+---------------------
 Reporter:  Enchiridion  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  Cron API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------
Changes (by johnbillion):

 * version:  trunk =>
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => 6.1


Comment:

 Thanks for the ticket and the patch @Enchiridion.

 Both the actions and the error logging make sense here and are a useful
 addition. I did think it would be beneficial to hook the calls to
 `error_log()` in via the actions, but it's additional overhead to
 introduce two new functions for this very narrow use case, so I think the
 direct calls to `error_log()` can suffice.

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


More information about the wp-trac mailing list