Wordpress/tests
Rachel Baker 334635ee5e REST API: Fix handling of some orderby parameters for the Posts controller.
- 'orderby' => 'include' requires an array of post_ids via the include collection param.
- 'orderby' => 'id' and 'orderby' => 'slug' need map the correct WP_Query equivalents. 

Merges [39440] to the 4.7 branch.

Props flixos90, hnle, dd32, rachelbaker, joehoyle, pento.
Fixes #38971 for 4.7.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39441 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-02 22:20:27 +00:00
..
phpunit REST API: Fix handling of some orderby parameters for the Posts controller. 2016-12-02 22:20:27 +00:00
qunit TinyMCE: wptextpattern: Fix inline patterns. 2016-11-06 23:37:09 +00:00