Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_kses_bad_protocol_once()

3 tags 1 category

wp_kses_bad_protocol_once() — Sanitizes content from bad protocols and other characters. This function searches for URL protocols at the beginning of the string, while handling whitespace and HTML entities.

Inputs: $content (string): Content to check for bad protocols. $allowed_protocols (string[]): Array of allowed URL protocols. $count (int): Depth of call recursion to this function.

Returns string: Sanitized content.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…