Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#5965 closed defect (bug) (invalid)

WP_Block_Parser is not in Code Reference

Reported by: joyously's profile joyously Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:


If I go to DevHub and search for block_parser, all I get is a filter for the name of the class to use. The class itself is not found (not parsed?) and yet there is a doc block on the class.

Change History (3)

This ticket was mentioned in Slack in #core by joyously. View the logs.

3 years ago

#2 @coffee2code
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Yeah, as of [8324], per #4144, the file wp-includes/class-wp-block-parser.php is considered an external package and explicitly excluded from being parsed.

#3 @joyously
3 years ago

Sorry, I asked in Slack and was told to open a ticket...
But it seems to me that the class is named wrong if it's external. And it's in the wrong folder if it's external.
It leaves a big gap in the Code Reference.

Note: See TracTickets for help on using tickets.