Wordpress Plugin Data & Request Security(#4) | Method: Securing Input (Sanitizing Input)

Wordpress Plugin Data & Request Security(#4) | Method: Securing Input (Sanitizing Input)

Online Web Tutor

6 лет назад

1,317 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

krystyna93418
krystyna93418 - 27.01.2020 06:28

I am confused on why you would use the sanitize_key() for an input field when there is already sanitize_text_field() for it? Though, you would use the sanitize_key() for a link, being that links should include lowercase alphanumeric characters, dashes and underscores. Would this be correct in my saying so?

Ответить