Skip to content
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

Section on escaping and sanitization functions #58

Open
johnbillion opened this issue Mar 7, 2017 · 2 comments
Open

Section on escaping and sanitization functions #58

johnbillion opened this issue Mar 7, 2017 · 2 comments

Comments

@johnbillion
Copy link
Member

There should be a section covering the escaping and sanitization functions that core provides for theme and plugin authors. Even if they're not covered in technical detail, their existence is an important part of the security of WordPress.

Escaping

  • esc_html()
  • esc_attr()
  • esc_url()
  • esc_textarea()
  • esc_js()

Sanitization

  • esc_url_raw()
  • sanitize_key()
  • sanitize_text_field()
  • sanitize_textarea_field()
    ...and probably others.
@desrosj
Copy link

desrosj commented Sep 28, 2022

@johnbillion Do you still feel this belongs here? This seems like something that's better suited for plugin/theme/core developer resource pages, which covers these topics pretty comprehensively.

These pages are fairly well maintained and updated as new functions are introduced/old ones are modified. Maybe we just link out to these resources with a brief summary?

@johnbillion
Copy link
Member Author

Yeah let's link out to them instead

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

No branches or pull requests

2 participants