-
Notifications
You must be signed in to change notification settings - Fork 37
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
[New sniff] Check for <title> #25
Labels
Comments
Yep, we should let WordPress manage the document title and via https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/ |
I believe there will be a separate sniff for the required add_theme_support. |
carolinan
added a commit
that referenced
this issue
Jul 20, 2016
Partial solution for #25 . Changed from Error to Warning since it does not deal with the false positive.
grappler
pushed a commit
that referenced
this issue
Oct 15, 2016
Partial solution for #25 . Changed from Error to Warning since it does not deal with the false positive.
grappler
added a commit
that referenced
this issue
Oct 27, 2016
Restricts the use of the <title> tag, unless it is within a <svg> tag. https://make.wordpress.org/themes/handbook/review/required/#core-functionality-and-features Fixes (#25)
This has been merged |
72 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rule:
ERROR : The theme must not use the <title> tag.
Ref: https://make.wordpress.org/themes/handbook/review/required/
"You should support up to 2 versions behind the current WordPress version."
The test and the sniff should include this exception: inline SVG code.
Theme check file covering this rule:
https://github.com/Otto42/theme-check/blob/master/checks/title.php
To do:
The text was updated successfully, but these errors were encountered: