[wp-cvs] wordpress/wp-includes functions-post.php,1.29,1.30

Matthew Mullenweg saxmatt at users.sourceforge.net
Tue Jan 11 22:42:11 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20668/wp-includes

Modified Files:
	functions-post.php 
Log Message:
Check everything for entities.

Index: functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-post.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** functions-post.php	11 Jan 2005 18:47:07 -0000	1.29
--- functions-post.php	11 Jan 2005 22:42:09 -0000	1.30
***************
*** 387,391 ****
  	do_action('wp_blacklist_check', '');
  
! 	if ( preg_match_all('/&#(\d+);/', $comment, $chars) ) {
  		foreach ($chars[1] as $char) {
  			// If it's an encoded char in the normal ASCII set, reject
--- 387,391 ----
  	do_action('wp_blacklist_check', '');
  
! 	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
  		foreach ($chars[1] as $char) {
  			// If it's an encoded char in the normal ASCII set, reject



More information about the cvs mailing list