[wp-trac] [WordPress Trac] #25514: Hook Docs: wp-includes/query.php

WordPress Trac noreply at wordpress.org
Mon Oct 7 13:58:41 UTC 2013


#25514: Hook Docs: wp-includes/query.php
--------------------------+------------------------------
 Reporter:  dougwollison  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Inline Docs   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by johnbillion):

 * type:  defect (bug) => enhancement


Comment:

 The formatting for the arguments documented in [attachment:WP_Query-hook-
 docs.diff] isn't quite correct.

 Arguments in array format (ie. those passed to `apply_filters_ref_array()`
 and `do_action_ref_array()` should use hash notation. See
 http://make.wordpress.org/core/handbook/inline-documentation-standards
 /php-documentation-standards/#4-hooks-actions-and-filters

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25514#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list