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

WordPress Trac noreply at wordpress.org
Tue Jun 21 22:21:58 UTC 2016


#37142: Incorrectly documented datatype for $request parameter of posts_request
filter.
--------------------------+------------------------------
 Reporter:  coffee2code   |       Owner:  DrewAPicture
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------
Changes (by DrewAPicture):

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


Comment:

 In [changeset:"37848"]:
 {{{
 #!CommitTicketReference repository="" revision="37848"
 Docs: Correct the `$request` parameter datatype in the hook doc for the
 `posts_request` filter.

 It's a string, not an array.

 Props coffee2code.
 Fixes #37142.
 }}}

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


More information about the wp-trac mailing list