Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support when esc_xml() should be used

オープン
#555 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php

調査の方向性

まず、既存の WordPressVIPMinimum.Security.ProperEscapingFunction sniff と、それが参照している公開ドキュメントを読みます。esc_xml() の導入と、要求されている XML コンテキストでの動作を使って、代表的な報告対象および報告対象外の例を定義します。完了の条件は、sniff が正しいエスケープ関数を認識し、ドキュメントで esc_xml() を使用すべき場合が説明されていることです。

索引モデルが issue の本文から書いたものです。

説明

Standard: VIP-Go Type: Enhancement

What problem would the enhancement address for VIP?

esc_xml() is being introduced in WP 5.5.

It would be great if WordPressVIPMinimum.Security.ProperEscapingFunction sniff could recognise when an escaping function is being used (typically esc_html() up to now, but someone may have used an incorrect escaping function) in an XML context.

Describe the solution you'd like

Update the existing sniff.

Update our public docs to better clarify when esc_xml() should be used.

What code should be reported as a violation?

{Needs examples}

What code should not be reported as a violation?

{Needs examples}

主要言語
PHP
スター
261
フォーク
44
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Automattic/VIP-Coding-Standards のほかの issue

Automattic/VIP-Coding-Standards の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。