[wp-cvs] wordpress/wp-includes template-functions-general.php, 1.41, 1.42

Ryan Boren rboren at users.sourceforge.net
Wed Jul 28 23:13:03 UTC 2004


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

Modified Files:
	template-functions-general.php 
Log Message:
Oops.  Add ENT_QUOTES.

Index: template-functions-general.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/template-functions-general.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** template-functions-general.php	28 Jul 2004 23:09:33 -0000	1.41
--- template-functions-general.php	28 Jul 2004 23:13:01 -0000	1.42
***************
*** 195,199 ****
  function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {
  	$text = wptexturize($text);
!     $title_text = htmlspecialchars($text);
  
  	if ('link' == $format) {
--- 195,199 ----
  function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {
  	$text = wptexturize($text);
!     $title_text = htmlspecialchars($text, ENT_QUOTES);
  
  	if ('link' == $format) {




More information about the cvs mailing list