这是indexloc提供的服务,不要输入任何密码
Skip to content

Patch from ticket. #965

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

Closed
wants to merge 13 commits into from

Conversation

adamsilverstein
Copy link
Member

@adamsilverstein adamsilverstein commented Feb 1, 2021

Trac ticket: https://core.trac.wordpress.org/ticket/39941


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@johnbillion
Copy link
Member

In general this seems fine, except the comment about the attribute names. That said, it would be good to see these changes in the context of where the functions will be used, eg. in the script loader tags, CSP-protected inline JS, etc.

adamsilverstein and others added 5 commits February 2, 2021 08:26
Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
# Conflicts:
#	src/wp-includes/functions.php
@adamsilverstein
Copy link
Member Author

In general this seems fine, except the comment about the attribute names. That said, it would be good to see these changes in the context of where the functions will be used, eg. in the script loader tags, CSP-protected inline JS, etc.

@johnbillion I addressed your feedback here. In terms of how these will be used, take a look at https://core.trac.wordpress.org/ticket/39941 / #498) and https://core.trac.wordpress.org/ticket/51407 / #551 which are the follow up issues created to actually use this new API.

@hellofromtonya
Copy link
Contributor

Closed with changeset https://core.trac.wordpress.org/changeset/50167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants