Opened 15 months ago

Last modified 15 months ago

#6893 new defect (bug)

Function reference docs parser or template show parameter twice

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


Originally reported by @mario98 at :

the default value of the parameter $size has been written twice. The one declaration should be deleted.

The function definition in WP Core is fine, so this seems to be added by the docs parser or template.

Change History (1)

#1 @dd32
15 months ago

  • Component changed from HelpHub to Developer Hub

This seems to be a bug in the PHPDoc parser: as the Default '....'. isn't being removed from the end of the description when it extracted it into the parameters default field.

I think I've seen this reported before somewhere, but I couldn't find an issue for it.

Sidenote: The developer environment can be run locally with

Note: See TracTickets for help on using tickets.