-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
HTML API: Apply linting changes. #5770
Conversation
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
LGTM. Is there any sniff there that check this? |
Thanks for the PR. It's not just lowercasing though. The colons should be removed as well. |
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 the PR!
These should be @todo
, without the trailing colon.
There is also one more instance in wp-includes/html-api/class-wp-html-active-formatting-elements.php
.
Reference: PHP Documentation Standards: PHPDoc tags.
Note: At this time, there are no automated CI checks for this, so it's just a manual fix to conform to the documentation standards.
e6fefef
to
763c02b
Compare
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.
Looks good.
Committed to Core in https://core.trac.wordpress.org/changeset/57209/. |
Trac ticket: Core-60060
cc: @TobiasBg