Make WordPress Core

Ticket #18765: formatting.php.diff

File formatting.php.diff, 410 bytes (added by sirzooro, 14 years ago)
  • formatting.php

    old new  
    23722372 * @return string
    23732373 */
    23742374function tag_escape($tag_name) {
    2375         $safe_tag = strtolower( preg_replace('/[^a-zA-Z_:]/', '', $tag_name) );
     2375        $safe_tag = strtolower( preg_replace('/[^a-zA-Z0-9_:]/', '', $tag_name) );
    23762376        return apply_filters('tag_escape', $safe_tag, $tag_name);
    23772377}
    23782378