[wp-trac] [WordPress Trac] #60016: Fixed wp_suspend_cache_invalidation to always return bool/empty
WordPress Trac
noreply at wordpress.org
Tue Dec 5 23:16:19 UTC 2023
#60016: Fixed wp_suspend_cache_invalidation to always return bool/empty
--------------------------------------+------------------------------
Reporter: pbearne | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Description changed by pbearne:
Old description:
> this function can be passed a random string
> where the Gobal value set by is used we check if it is not empty
> the doc say to set a bool but is allows you set any value eg 'false'
> which on empty
>
> So I am add a cast to make the value set is bool
>
> see pre fix tests
> https://core.trac.wordpress.org/ticket/60015
New description:
this function can be passed a random string
where the Gobal value set by is used we check if it is not empty
the doc say to set a bool but is allows you set any value eg 'false' which
on empty
So I have added a cast to make sure the value set is bool
see pre fix tests
https://core.trac.wordpress.org/ticket/60015
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60016#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list