WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 4 years ago

#812 closed defect (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.

Change History (1)

#1 @coffee2code
4 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.