Account for upcoming change in WP 5.7 / script tag use
還沒有人認領這個 Issue。
評估
研究方向
審查現有的、用於檢查內嵌 HTML 中 script 標籤的 sniffs,以連結的 WPCS 和 WordPress Core PRs 作為起始參考和程式碼範例。檢查 WP 5.7 變更後它們是否仍能偵測相關模式;完成的標準是受影響的 sniffs 能正確處理新樣式。
由索引模型根據 Issue 內容生成。
描述
PR https://github.com/WordPress/WordPress-Coding-Standards/pull/1956 in WPCS refers to changes in WP Core which will remove the use of the <script> HTML tag in PHP code.
Any existing sniff which looks at the content of inline HTML and takes the <script> tag into account will need to be reviewed to see if it can still detect what it is looking for with the "new" way of writing this type of code.
This PR to WP Core gives some good examples of the "new" way of writing this type of code and can be used to for code samples: https://github.com/WordPress/wordpress-develop/pull/498/files
This PR shows the new functionality which will be added to Core: https://github.com/WordPress/wordpress-develop/pull/591
- 主要語言
- PHP
- 星號
- 261
- 分支
- 44
- 平均合併
- 3 天 17 小時
- 30 天內合併 PR
- 9
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Automattic/VIP-Coding-Standards 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 48/100
-
Breaking Change Type: Maintenance
難度 4/5 3-5 天 新手友好度 35/100
Automattic/VIP-Coding-Standards#849 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
-
難度 3/5 1-2 天 新手友好度 48/100
-
Status: Awaiting feedback
難度 2/5 1-3 小時 新手友好度 45/100
Automattic/VIP-Coding-Standards#754 · 3 則留言 ·
查看 Automattic/VIP-Coding-Standards 的全部 Issue
相似的 Issue
-
needs triage
難度 2/5 1-3 小時 新手友好度 72/100
-
loginWithCustomTokenExchange() fails when an organization is configured可能已有人在做 @awss1i 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 2 天內回覆
-
type/bug
難度 1/5 1 小時以內 新手友好度 75/100
flarum/framework#5231 · 1 則留言 ·
維護者通常 1 天內回覆
-
major-release
難度 1/5 1 小時以內 新手友好度 67/100
Intervention/image#1553 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
omegaup/omegaup#10353 · 1 則留言 ·
維護者通常 5 天內回覆