-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Clarify updateNavigationLinkBlockAttributes #41657
Clarify updateNavigationLinkBlockAttributes #41657
Conversation
Use more intuitive variable names and document an odd behavior as a docstring. Co-authored by Dave Smith <@getdave>
Size Change: +9 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for following up 👏
Added the Needs Dev Note label in case this needs a dev note (either individual or as part of a "misc" dev note) for WP 6.1 release. |
@adamziel I think we won't need a dev note here as the API hasn't changed. What do you think? |
Yup, this changes only the implementation details @mburridge |
What?
Let's use more intuitive variable names and document an odd behavior as a docstring.
Understanding that function as it stands took me and @getdave two hours. Hopefully this PR will make it easier for the next person.
Co-authored by Dave Smith <@getdave>
Testing Instructions
This is a developer experience change that shouldn't affect the logic. To test, confirm the tests are green and the logic is equivalent to how it was before this PR.