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

Fix/navigation link cs #58385

Closed
wants to merge 2 commits into from
Closed

Conversation

gaambo
Copy link
Contributor

@gaambo gaambo commented Jan 29, 2024

This PR updates fixes some code formating errors from merging gutenberg into core.
See:
WordPress/wordpress-develop#5922 (comment)
WordPress/wordpress-develop#5922 (comment)

Additionally, the rest of the file (navigation-link/index.php) and post-terms/index.php (since it was changed in similar manners because of the WP_Block_Type::$variations changes) were checked and fixed as well.

Question: Any way to check for these coding standards locally? I was running npm run lint:php but it never complained about those - are those some core only style guides which don't get enforced in Gutenberg?

@youknowriad
Copy link
Contributor

@gaambo Yes, the phpcs tests don't seem to fail for these (in both Gutenberg and core)

Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess some of these files will be changed with the timeout fixes

@gaambo
Copy link
Contributor Author

gaambo commented Jan 30, 2024

Changes were incorporated in #58389.

@gaambo gaambo closed this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants