Changeset 709
- Timestamp:
- 01/03/2004 11:48:16 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-popup.php
r628 r709 54 54 <?php if ('open' == $commentstatus->comment_status) { ?> 55 55 <h2>Leave a Comment</h2> 56 <p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo htmlentities(str_replace('<', ' <', $comment_allowed_tags)); ?></code></p>56 <p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p> 57 57 58 58 <form action="<?php echo $siteurl; ?>/wp-comments-post.php" method="post" id="commentform"> -
trunk/wp-comments.php
r673 r709 45 45 <h2>Leave a Comment</h2> 46 46 <?php if ('open' == $post->comment_status) { ?> 47 <p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo htmlentities(str_replace('<', ' <', $comment_allowed_tags)); ?></code></p>47 <p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p> 48 48 49 49 <form action="<?php echo $siteurl; ?>/wp-comments-post.php" method="post" id="commentform"> -
trunk/wp-includes/kses.php
r663 r709 19 19 'em' => array(), 20 20 'strike' => array(), 21 'a' => array('href' => array('minlen' => 6, 'maxlen' => 250),21 'a' => array('href', 22 22 'title', 23 'rel' => array('minlen' => 3, 'maxlen' => 250)),24 'blockquote' => array('cite' => array()),23 'rel'), 24 'blockquote' => array('cite'), 25 25 'del' => array('datetime'), 26 26 'br' => array()); -
trunk/wp-includes/template-functions.php
r706 r709 1880 1880 /***** // Permalink tags *****/ 1881 1881 1882 function allowed_tags() { 1883 global $allowedtags; 1884 foreach($allowedtags as $tag => $attributes) { 1885 $allowed .= "<$tag"; 1886 if (0 < count($attributes)) { 1887 foreach ($attributes as $attribute) { 1888 $allowed .= " $attribute=\"\""; 1889 } 1890 } 1891 $allowed .= "> "; 1892 } 1893 return htmlentities($allowed); 1894 } 1895 1882 1896 ?>
Note: See TracChangeset
for help on using the changeset viewer.