[wp-trac] [WordPress Trac] #37142: Incorrectly documented datatype for $request parameter of posts_request filter.

WordPress Trac noreply at wordpress.org
Tue Jun 21 20:04:36 UTC 2016


#37142: Incorrectly documented datatype for $request parameter of posts_request
filter.
--------------------------+-----------------------------
 Reporter:  coffee2code   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  trivial       |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 The `@param` docblock for the `$request` parameter (which represents the
 "complete SQL query") of the `posts_request` filter indicates that the
 parameter has a datatype of array. However, two lines of code earlier it
 is clearly set as a string.

 Patch attached.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37142>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list