Uses
Uses | Description |
---|---|
wp-includes/Requests/IRI.php: Requests_IRI::replace_invalid_with_pct_encoding() | Replace invalid character with percent encoding |
wp-includes/Requests/IRI.php: Requests_IRI::scheme_normalization() |
Set the iuserinfo.
(string) (Required)
(bool)
File: wp-includes/Requests/IRI.php
protected function set_userinfo($iuserinfo) { if ($iuserinfo === null) { $this->iuserinfo = null; } else { $this->iuserinfo = $this->replace_invalid_with_pct_encoding($iuserinfo, '!$&\'()*+,;=:'); $this->scheme_normalization(); } return true; }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_iri/set_userinfo