[wp-cvs] wordpress/wp-includes template-functions-links.php, 1.15, 1.16

Matthew Mullenweg saxmatt at users.sourceforge.net
Wed Jun 2 16:43:21 CDT 2004


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

Modified Files:
	template-functions-links.php 
Log Message:
Added consistant trailing slash.

Index: template-functions-links.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-links.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** template-functions-links.php	2 Jun 2004 07:44:43 -0000	1.15
--- template-functions-links.php	2 Jun 2004 21:43:18 -0000	1.16
***************
*** 342,346 ****
     $qstr = str_replace($home_root . '/', '', $qstr);
     $qstr = preg_replace('|^/+|', '', $qstr);
!    return preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit(get_settings('home')).$qstr);
  }
  
--- 342,346 ----
     $qstr = str_replace($home_root . '/', '', $qstr);
     $qstr = preg_replace('|^/+|', '', $qstr);
!    return preg_replace('/&([^#])(?![a-z]{1,8};)/', '&$1', trailingslashit( get_settings('home') ) . trailingslashit($qstr) );
  }
  




More information about the cvs mailing list