[wp-trac] [WordPress Trac] #52839: Docs: indentation error on `wp_term_query->construct` method parameters
WordPress Trac
noreply at wordpress.org
Wed Mar 17 17:55:40 UTC 2021
#52839: Docs: indentation error on `wp_term_query->construct` method parameters
--------------------------+-----------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
There is a minor indentation issue in some `wp_term_query->construct`
method DocBlock params.
The issue appears on the `fields` param. Indeed, it's better to avoid
dashes when items should not be presented as a bullet list. Better to
replace `-` with `*` as per DocBlock formatting rules.
https://developer.wordpress.org/reference/classes/wp_term_query/__construct/
Props @whyisjake for pointing this out in DevHub user notes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52839>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list