Core Function
View Source on Trac ↗ _wp_sanitize_utf8_in_redirect()
_wp_sanitize_utf8_in_redirect( mixed $matches ) URL encodes UTF-8 characters in a URL.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $matches array | RegEx matches against the redirect location. Required |
Return Value
(string)
URL-encoded version of the first RegEx match.
Function Information
Since Version
4.2.0
Source File
wp-includes/pluggable.php
Advertisement