wordpress-develop/tests/phpunit/tests/option
Jeremy Felt 3ee40d6652 MS: Reject truthy, non-numeric network ids in _network_option().
A valid `$network_id` or `null`/`false` is expected as the first parameter for `_network_option()`. If something other than that is passed, we immediately return `false` rather than attempting to guess what network was intended.

See #28290.


git-svn-id: https://develop.svn.wordpress.org/trunk@35025 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-11 23:29:55 +00:00
..
multisite.php Initialise $_SERVER[ 'REMOTE_ADDR' ] during the test bootstrap so individual tests need not. 2015-09-15 08:04:33 +00:00
networkOption.php MS: Reject truthy, non-numeric network ids in _network_option(). 2015-10-11 23:29:55 +00:00
option.php Allow $autoload setting to be changed for existing options using update_option(). 2015-03-06 13:56:44 +00:00
sanitize-option.php Use WP_TESTS_DOMAIN where it should be used in tests in place of hard-coded uses of example.org. 2015-09-24 21:01:10 +00:00
siteOption.php Unit Tests: tests that want to flush the cache should use their instance method instead of calling wp_cache_flush() - more properties need to be wiped out in between tests. 2015-10-02 05:08:13 +00:00
siteTransient.php Unit Tests: when wp_using_ext_object_cache(), mark some transient tests as skipped. 2015-10-02 05:09:03 +00:00
slashes.php Fix typo in a comment in slashing tests. 2015-01-07 07:08:47 +00:00
themeMods.php Add some theme mod unit tests. 2015-08-30 03:42:49 +00:00
transient.php Use wp_installing() instead of WP_INSTALLING constant. 2015-10-05 15:05:26 +00:00
updateOption.php Use wp_installing() instead of WP_INSTALLING constant. 2015-10-05 15:05:26 +00:00
userSettings.php After [33840], JS regex needs the g modifier. 2015-09-08 16:43:27 +00:00