[wp-trac] [WordPress Trac] #58221: Cast (int) $cron->time - time() to prevent String - int error
WordPress Trac
noreply at wordpress.org
Sun Apr 30 01:45:14 UTC 2023
#58221: Cast (int) $cron->time - time() to prevent String - int error
----------------------------+------------------------------
Reporter: toddlahman | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.2
Severity: critical | Resolution: maybelater
Keywords: has-patch php8 | Focuses:
----------------------------+------------------------------
Comment (by jrf):
@toddlahman Thank you for getting back with your analysis and I'm glad to
see it confirmed that this was not a WP Core issue as such.
I totally agree that the lack of input validation (in this case, lack of
validation of input received from the database) is an issue. However, that
is an issue throughout WP Core ''**everywhere**'' and probably needs a
cohesive application wide approach and solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58221#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list