[wp-cvs] wordpress/wp-includes functions-formatting.php,1.37,1.38

Ryan Boren rboren at users.sourceforge.net
Tue Jul 27 15:12:20 UTC 2004


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

Modified Files:
	functions-formatting.php 
Log Message:
strip_tags from title in sanitize_title().  Patch from Masquerade for bugs 0000181 and 00000107.

Index: functions-formatting.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** functions-formatting.php	24 Jul 2004 03:22:49 -0000	1.37
--- functions-formatting.php	27 Jul 2004 15:12:18 -0000	1.38
***************
*** 122,126 ****
  function sanitize_title($title, $fallback_title = '') {
      $title = apply_filters('sanitize_title', $title);
! 
      if (empty($title)) {
          $title = $fallback_title;
--- 122,126 ----
  function sanitize_title($title, $fallback_title = '') {
      $title = apply_filters('sanitize_title', $title);
!     $title = strip_tags($title);
      if (empty($title)) {
          $title = $fallback_title;




More information about the cvs mailing list