Opened 4 years ago
Closed 4 years ago
#52839 closed defect (bug) (fixed)
Docs: indentation error on `wp_term_query->construct` method parameters
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
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.
Attachments (2)
Change History (7)
#3
@
4 years ago
- Keywords commit added
Just noting that it's possible that replacing -
with *
as in [50538] may not actually fix the issue, and it could be a bug not in core, but in the DevHub documentation parser itself, as there are a few other instances where the -
characters are converted to second-level list items as expected.
I don't have a quick way to test that at the moment, so I guess we'll have to wait and see after 5.8 :) 52839.diff should be good to go in the meantime.
Docs: Correct formatting for the description of some
wp_term_query->construct
method parameters