[wp-trac] [WordPress Trac] #30380: get_transient doesn't check the return of get_option
WordPress Trac
noreply at wordpress.org
Tue Jul 7 11:30:24 UTC 2015
#30380: get_transient doesn't check the return of get_option
-------------------------------------+--------------------------
Reporter: jamesgol | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: low | Milestone: 4.3
Component: Options, Meta APIs | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: performance
-------------------------------------+--------------------------
Comment (by dd32):
FWIW there are 4 phpunit files which are marked as PHP 5.3+ only, one
which is a Closure-specific test, and the other is the Editors (which I
can't see why is 5.3+ at first glance)
https://core.trac.wordpress.org/browser/trunk/phpunit.xml.dist#L14
If no 5.3-specific things are required, and removing it isn't difficult,
tests should aim for the same support as core IMHO.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30380#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list