[wp-cvs] wordpress/wp-includes functions.php, 1.124, 1.125 vars.php, 1.28, 1.29

Jason Verber jverber at users.sourceforge.net
Sat Jun 19 04:24:01 UTC 2004


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

Modified Files:
	functions.php vars.php 
Log Message:
Fixes for bugs #0000088-90: fixed encoding of special chars.

Index: vars.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/vars.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** vars.php	11 Jun 2004 19:34:26 -0000	1.28
--- vars.php	19 Jun 2004 04:23:59 -0000	1.29
***************
*** 177,180 ****
--- 177,182 ----
  
  // Some default filters
+ add_filter('rewrite_rules','htmlspecialchars');
+ add_filter('bloginfo','htmlspecialchars');
  add_filter('category_description', 'wptexturize');
  add_filter('list_cats', 'wptexturize');

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.124
retrieving revision 1.125
diff -C2 -d -r1.124 -r1.125
*** functions.php	18 Jun 2004 00:22:09 -0000	1.124
--- functions.php	19 Jun 2004 04:23:59 -0000	1.125
***************
*** 817,821 ****
          if(($lon != null) && ($lat != null) ) {
              echo "<meta name=\"ICBM\" content=\"".$lat.", ".$lon."\" />\n";
!             echo "<meta name=\"DC.title\" content=\"".convert_chars(strip_tags(get_bloginfo("name")))." - ".$title."\" />\n";
              echo "<meta name=\"geo.position\" content=\"".$lat.";".$lon."\" />\n";
              return;
--- 817,821 ----
          if(($lon != null) && ($lat != null) ) {
              echo "<meta name=\"ICBM\" content=\"".$lat.", ".$lon."\" />\n";
!             echo "<meta name=\"DC.title\" content=\"".convert_chars(strip_tags(htmlspecialchars(get_bloginfo("name"))))." - ".$title."\" />\n";
              echo "<meta name=\"geo.position\" content=\"".$lat.";".$lon."\" />\n";
              return;
***************
*** 825,829 ****
              // send the default here 
              echo "<meta name='ICBM' content=\"". get_settings('default_geourl_lat') .", ". get_settings('default_geourl_lon') ."\" />\n";
!             echo "<meta name='DC.title' content=\"".convert_chars(strip_tags(get_bloginfo("name")))."\" />\n";
              echo "<meta name='geo.position' content=\"". get_settings('default_geourl_lat') .";". get_settings('default_geourl_lon') ."\" />\n";
          }
--- 825,829 ----
              // send the default here 
              echo "<meta name='ICBM' content=\"". get_settings('default_geourl_lat') .", ". get_settings('default_geourl_lon') ."\" />\n";
!             echo "<meta name='DC.title' content=\"".convert_chars(strip_tags(htmlspecialchars(get_bloginfo("name"))))."\" />\n";
              echo "<meta name='geo.position' content=\"". get_settings('default_geourl_lat') .";". get_settings('default_geourl_lon') ."\" />\n";
          }




More information about the cvs mailing list