[wp-trac] [WordPress Trac] #44977: Transient fill fail delete to itself if it's timeout option is missing
WordPress Trac
noreply at wordpress.org
Tue Nov 19 05:43:03 UTC 2024
#44977: Transient fill fail delete to itself if it's timeout option is missing
--------------------------------+------------------------------
Reporter: nlozovan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------------+------------------------------
Comment (by geekofshire):
How should we handle transients that are saved without a timeout due to a
glitch? Should we add a check for this wherever we delete the transient?
`if ( false === $timeout || ( false !== $timeout && $timeout < time() ) )
{`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44977#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list