Wordpress/tests
Boone Gorges b2332718a1 When passing `$full` to `get_posts_by_author_sql()`, make sure a 'post_type' clause is included in results.
This change makes the 'post_type' clause in `wp_list_authors()` redundant, so
we remove it. Third-party plugins using `get_posts_by_author_sql()` may have
similarly redundant clauses, but this won't change the results returned by the
SQL queries.

Also adds unit tests for `get_posts_by_author_sql()`.

Props pbearne.
Fixes #30354.

git-svn-id: https://develop.svn.wordpress.org/trunk@31653 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-07 01:14:31 +00:00
..
phpunit When passing `$full` to `get_posts_by_author_sql()`, make sure a 'post_type' clause is included in results. 2015-03-07 01:14:31 +00:00
qunit Adjust our QUnit test suite to show the QUnit toolbar. 2015-02-22 15:31:14 +00:00