You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of sanitize_url() is still listed as deprecated, however as of WordPress 5.9 it has been un deprecated
Minimal Code Snippet
Use sanitize_url() in a line of code.
ERROR sanitize_url() has been deprecated since WordPress version 2.8.0. Use esc_url_raw() instead.
(WordPress.WP.DeprecatedFunctions.sanitize_urlFound)
This can be fixed by removing it from the deprecation list.
Tested Against develop branch?
I have not tested against develop, but I did check here:
Bug Description
The use of sanitize_url() is still listed as deprecated, however as of WordPress 5.9 it has been un deprecated
Minimal Code Snippet
Use sanitize_url() in a line of code.
ERROR sanitize_url() has been deprecated since WordPress version 2.8.0. Use esc_url_raw() instead.
(WordPress.WP.DeprecatedFunctions.sanitize_urlFound)
This can be fixed by removing it from the deprecation list.
Tested Against
develop
branch?I have not tested against develop, but I did check here:
https://github.com/WordPress/WordPress-Coding-Standards/blob/develop/WordPress/Sniffs/WP/DeprecatedFunctionsSniff.php#L412
So it's still on the sniffs :)
The text was updated successfully, but these errors were encountered: