[wp-trac] [WordPress Trac] #52839: Docs: indentation error on `wp_term_query->construct` method parameters

WordPress Trac noreply at wordpress.org
Mon Mar 29 21:33:46 UTC 2021


#52839: Docs: indentation error on `wp_term_query->construct` method parameters
------------------------------+----------------------------
 Reporter:  audrasjb          |       Owner:  davidbaumwald
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Taxonomy          |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+----------------------------
Changes (by davidbaumwald):

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


Comment:

 In [changeset:"50614" 50614]:
 {{{
 #!CommitTicketReference repository="" revision="50614"
 Docs: Fix indentation for `wp_term_query->construct` method parameters.

 The `fields` and `orderby` properties in `WP_Term_Query` are arrays and
 each accepts a variety of keys.  To properly indent each key in the
 docblock, a `*` should be used, not `-`.

 Props whyisjake, audrasjb, SergeyBiryukov.
 Fixes #52839.
 }}}

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


More information about the wp-trac mailing list