[wp-trac] [WordPress Trac] #51196: PHP warning at every pageload form cron

WordPress Trac noreply at wordpress.org
Thu Sep 3 01:11:54 UTC 2020


#51196: PHP warning at every pageload form cron
--------------------------+----------------------
 Reporter:  opajaap       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Cron API      |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  close         |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I tend to agree with comment:4. While `_get_cron_array()` could ignore the
 invalid value, that would just hide the fact that the option is still
 corrupted by some plugin and won't work as expected.

 Even if we reset the value to an empty array, there's no guarantee that it
 won't be corrupted again by the same plugin, so I think it would be better
 to track down the culprit.

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


More information about the wp-trac mailing list