-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Wanted: Default parameters are not correctly rendered in plugin registry methods #627
Comments
Hi, Can I take this? |
All yours, @akshitarora921, thanks for working on this :) |
Hi @agarciamontorom, |
ooh this is just an adventure through all the files.
and get data from this Conclusionwe need to make change in file
|
but then how |
Great investigation, @akshitarora921! This is definitely a code maze. I think the problem is not in the definition of the functions ( I would try to look into how this data is structured. We parse the file with espree at the beginning of the script, so I'd look into the espree API to see if we're missing something important there. Maybe espree simply does not parse optional parameters? I'm not sure 🤔 |
@agarciamontoro this is getting more and more interesting, whenever I look into it. Kudos to the developers who wrote this. 🙌🏼 |
@akshitarora921 - Are you actively working on this ticket? |
No |
Thanks for the answer, @akshitarora921, and for all your work! Feel free to get back at it if you want to, I'll mark the issue up for grabs again. |
Whoops, I didn't mean to close the issue. Reopening :) |
@agarciamontoro @cwarnermm I will try it. If I solve it, I will ask you to assign me again. |
@akshitarora921 - Are you actively working on this ticket? |
@cwarnermm No |
See, for example, registerAdminConsoleCustomSetting, where
showTitle
is missing:This happens because the default parameters have a different structure in the AST returned by the parser.
The text was updated successfully, but these errors were encountered: