WordPress/wporg-developer

Code example contain class location

Opened this issue · 0 comments

When writing out example code, the title of the code block has the location of the class it belongs to, which feels unnecessary and isn't accurate. e.g. wp-includes/class-wp-query.php

Screenshot 2024-05-07 at 17 02 30

The label should only appear in the code reference which usually is placed at the end of the documentation.

Presumably this is related to the code parser, and not the content of the documentation but I ran out of time looking.