Opened 10 years ago
Closed 9 years ago
#812 closed defect (bug) (fixed)
`get_children()` was skipped from parsing in 4.1
Reported by: | DrewAPicture | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
As pointed out in #wp30987, get_children()
was skipped from parsing due to the presence of a (valid) @internal
tag in the DocBlock. We really should be using @ignore
to skip parsing items because @internal
is a valid tag used for including internal-only information in a DocBlock, not for skipping an entire element.
Basically the difference is that a message paired with @internal
will be skipped by phpDoc whereas an entire function will be skipped with @ignore
.
I've opened a pull request on the parser repo to alleviate this problem, though we may need to re-parse 4.1 as the get_children()
reference doesn't exist.
Note: See
TracTickets for help on using
tickets.
Fixed as of the parsing for 4.2. See: https://developer.wordpress.org/reference/functions/get_children/