We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2cbd97 commit 7c015b4Copy full SHA for 7c015b4
src/wp-includes/formatting.php
@@ -4809,7 +4809,7 @@ static function ( $matches ) {
4809
* @since 6.5.5 Allow hyphens in tag names (i.e. custom elements).
4810
*
4811
* @param string $tag_name
4812
- * @return string Escaped tag name.
+ * @return string Sanitized tag name.
4813
*/
4814
function tag_escape( $tag_name ) {
4815
$safe_tag = strtolower( preg_replace( '/[^a-zA-Z0-9-_:]/', '', $tag_name ) );
0 commit comments