[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:17:37 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
-------------------------------------------------+-------------------------
Changes (by rachelbaker):

 * owner:   => rachelbaker
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39440"]:
 {{{
 #!CommitTicketReference repository="" revision="39440"
 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.

 Props flixos90, hnle, dd32, rachelbaker, joehoyle, pento.

 Fixes #38971.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38971#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list