Query: Improve tests for set_found_posts dealing with non arrays

Use a data provider and include tests for `false` and `''`.

Previous: [42581] [42585]

See #42860


Built from https://develop.svn.wordpress.org/trunk@42594


git-svn-id: http://core.svn.wordpress.org/trunk@42423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2018-01-24 20:52:30 +00:00
parent c7b0073e92
commit 4d89f4a20c

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42592';
$wp_version = '5.0-alpha-42594';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.