Opened 6 years ago
Closed 6 years ago
#51652 closed enhancement (fixed)
Inconsistent naming in JavaScript function
| Reported by: | ribaricplusplus | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 |
| Component: | Customize | Version: | 4.0 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: | javascript, coding-standards |
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
@
6 years ago
- Component General → Customize
- Milestone Awaiting Review → 5.6
- Owner set to
- Status new → reviewing
Thanks for the patch, this looks good :)
#3
in reply to: ↑ 1
@
6 years ago
- Component Customize → 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 :)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.