Opened 4 years ago
Closed 4 years ago
#51652 closed enhancement (fixed)
Inconsistent naming in JavaScript function
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | trivial | Version: | 4.0 |
Component: | Customize | Keywords: | has-patch |
Focuses: | javascript, coding-standards | Cc: |
Description
This is my first ticket, sorry if I'm doing something wrong.
The name for a function parameter in the doc comment is not the same as the actual function parameter.
I know this is extremely trivial but I was reading through core source code and I figured submitting a fix would be worthwhile to get me comfortable with the contributing process.
Attachments (1)
Change History (6)
#2
@
4 years ago
- Component changed from General to Customize
- Milestone changed from Awaiting Review to 5.6
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
Thanks for the patch, this looks good :)
#3
in reply to:
↑ 1
@
4 years ago
- Component changed from Customize to General
Replying to davidbaumwald:
Hi @ribaricplusplus and welcome to Core Trac! Great catch!
This goes back to this commit back in the 4.0 cycle. Interestingly, the docs directly above the method refer to the param as
staticProps
.
Thank you for the help.
I appreciate the warm welcome :)
Note: See
TracTickets for help on using
tickets.
Hi @ribaricplusplus and welcome to Core Trac! Great catch!
This goes back to this commit back in the 4.0 cycle. Interestingly, the docs directly above the method refer to the param as
staticProps
.