wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_check_jsonp_callback › WordPress Function
Depuis4.6.0
Dépréciéen/a
› wp_check_jsonp_callback ( $callback )
Paramètres: |
|
Retourne: |
|
Défini(e) dans: |
|
Codex: |
Checks that a JSONP callback is a valid JavaScript callback name.
Only allows alphanumeric characters and the dot character in callback function names. This helps to mitigate XSS attacks caused by directly outputting user input.Fonctions en relation: wp_check_post_lock, wp_rel_callback, wp_rel_nofollow_callback, wp_clean_theme_json_cache, _sort_name_callback