Wordpress/tests/phpunit/tests/query
Boone Gorges a5001396ad Introduce $comment_count param for WP_Query.
This parameter allows querying for posts with a specific value of
`comment_count`. It is also possible to query for posts that match
a `comment_count` comparison by passing an array with 'value' and
'compare' operators (eg `array( 'compare' => '>', 'value' => 5 )`).

Props ramon fincken.
Fixes #28399.

git-svn-id: https://develop.svn.wordpress.org/trunk@40978 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-01 11:24:26 +00:00
..
commentCount.php Introduce $comment_count param for WP_Query. 2017-07-01 11:24:26 +00:00
conditionals.php Posts, Post Types: Ensure is_page_template() can only return true when viewing a singular post query. 2016-12-14 03:42:58 +00:00
date.php Unit Tests: 2016-08-27 08:35:16 +00:00
dateQuery.php REST API: Add author, modified, and parent sort order options for posts. 2017-05-10 18:51:28 +00:00
isTerm.php Unit Tests: Change some @group annotations to @ticket. 2016-07-04 20:24:52 +00:00
metaQuery.php Build/Test Tools: Continue eliminating randomness in tests. 2016-10-26 01:23:24 +00:00
noFoundRows.php Add tests for no_found_rows behavior of WP_Query. 2016-05-31 19:28:46 +00:00
parseQuery.php Query: Non-scalar and negative values for 'p' should always result in a 404. 2016-08-20 02:31:31 +00:00
postStatus.php Unit Tests: 2016-08-27 08:35:16 +00:00
results.php WP_Query: Add missing tests for combinations of orderby and include parameters. 2017-03-07 05:26:51 +00:00
search.php Query: Allow the prefix used for search term exclusion to be filtered. 2016-10-20 18:41:22 +00:00
setupPostdata.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
stickies.php Unit Tests: 2016-08-27 08:35:16 +00:00
taxQuery.php Don't double-escape terms payload in WP_Tax_Query::transform_query(). 2017-01-02 19:38:07 +00:00
vars.php Query: Re-initialise any dynamically-added public query vars before running the public query vars test. 2015-12-21 06:59:05 +00:00
verboseRewriteRules.php Built/Test Tools: Unify the way the permastructure is set when used in conjunction with re-registering the initial taxonomies. This ensure that rewrite rules for taxonomies are consistently available. 2016-09-26 17:01:48 +00:00