-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update html_helper.php #3247
Update html_helper.php #3247
Conversation
Added hreflang parameter for link_tag function for calling <link href="https://domain.com/en" hreflang="x-default" rel="alternate"> and etc. And added checks for tags with rel expressions for 'alternate','canonical' in this case attribute type dont use
Added hreflang parameter for link_tag function for calling and etc. And added checks for tags with rel expressions for 'alternate','canonical' in this case attribute type dont use |
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.
Good change but pleas pay attention to the style guide. See comments.
Updated code by style guide
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 - thank you!
Added
hreflang
parameter for link_tag function for calling<link href="https://domain.com/en" hreflang="x-default" rel="alternate">
and etc. And added checks for tags with rel expressions for'alternate'
,'canonical'
in this case attribute type dont useEach pull request should address a single issue and have a meaningful title.
Description
Explain what you have changed, and why.
Checklist: