以下のようなログインフォームを出力したところ、wpcsで
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'rcp_login_form_fields'.というエラーが出ました。
Restrict content proの関数です。
php
1echo rcp_login_form_fields();
ログインフォームの出力に使えるエスケープ関数はありますでしょうか?
wordpressのエクケープ関数は一通り試して見たもののフォームが出力されなかったりでうまくできません。
あなたの回答
tips
プレビュー