[wp-cvs] wordpress/wp-includes functions.php,1.154,1.155
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Sep 5 01:50:41 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3908/wp-includes
Modified Files:
functions.php
Log Message:
Track and check user agent for comments.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.154
retrieving revision 1.155
diff -C2 -d -r1.154 -r1.155
*** functions.php 5 Sep 2004 01:22:17 -0000 1.154
--- functions.php 5 Sep 2004 01:50:39 -0000 1.155
***************
*** 1494,1497 ****
--- 1494,1498 ----
if ( preg_match($pattern, $comment) ) return false;
if ( preg_match($pattern, $user_ip) ) return false;
+ if ( preg_match($pattern, $useg_agent) ) return false;
}
More information about the cvs
mailing list