Skip to content
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

In Bootstrap_Walker_Nav_Menu::start_el(), stop referring to array keys as object properties, and set visibility of methods. #1624

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

benlk
Copy link
Collaborator

@benlk benlk commented Jan 31, 2019

Changes

Why

Because the Notice in #1623 was repeated all over the screen, rendering the menu unusable when WP_DEBUG was true.

Because PHP notices should be eliminated, as part of #1492.

Because class methods require visibility to be declared in good code.

Testing

  • Compare markup from this class before and after this commit has been applied. They should be identical.
  • Compare markup from this commit and from v0.5.5.4. They should be identical.

…s as object properties, and set visibility of methods.
@benlk benlk added this to the 0.6.2 milestone Jan 31, 2019
@benlk benlk added type: bug priority: normal Must be completed before release of this version of plugin. status: needs review type: tech debt For necessary updates because code is old labels Jan 31, 2019
@benlk
Copy link
Collaborator Author

benlk commented Jan 31, 2019

There's no difference between 0.5-dev and this branch; the differences between v0.5.5.4 and this branch are what was expected from v0.6.1.

v0.5.5.4.txt
0.5-dev.txt
branch.txt

@benlk benlk merged commit 00d11d8 into 0.5-dev Jan 31, 2019
benlk added a commit that referenced this pull request Jan 31, 2019
benlk added a commit that referenced this pull request Feb 4, 2019
Fix for #1624 and #1623: Bootstrap_Nav_Walker::start_el() continued
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal Must be completed before release of this version of plugin. status: needs review type: bug type: tech debt For necessary updates because code is old
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant