[wp-trac] [WordPress Trac] #24826: Add __construct function to the "WP_Comment_Query" Class

WordPress Trac noreply at wordpress.org
Mon Mar 16 20:17:37 UTC 2015


#24826: Add __construct function to the "WP_Comment_Query" Class
---------------------------------------+---------------------------
 Reporter:  ramiy                      |       Owner:  boonebgorges
     Type:  enhancement                |      Status:  closed
 Priority:  normal                     |   Milestone:  4.2
Component:  Comments                   |     Version:  3.5
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch commit 4.2-beta  |     Focuses:
---------------------------------------+---------------------------
Changes (by DrewAPicture):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31795"]:
 {{{
 #!CommitTicketReference repository="" revision="31795"
 Move the default arguments hash notation for `WP_Comment_Query` to the new
 constructor, where the argument definitions were moved in [31793].

 Core style dictates that the default arguments should be documented in the
 same function or method where they are defined.

 See [31793].
 Fixes #24826.
 }}}

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


More information about the wp-trac mailing list