[wp-trac] [WordPress Trac] #38971: REST API: rest_comment_author_required should not allow empty value
WordPress Trac
noreply at wordpress.org
Fri Dec 2 22:20:28 UTC 2016
#38971: REST API: rest_comment_author_required should not allow empty value
-------------------------------------------------+-------------------------
Reporter: hnle | Owner:
Type: defect (bug) | rachelbaker
Priority: normal | Status: closed
Component: REST API | Milestone: 4.7
Severity: normal | Version: trunk
Keywords: has-patch has-unit-tests commit | Resolution: fixed
dev-reviewed | Focuses: rest-api
-------------------------------------------------+-------------------------
Comment (by rachelbaker):
In [changeset:"39441"]:
{{{
#!CommitTicketReference repository="" revision="39441"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38971#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list