[wp-cvs] wordpress/wp-admin theme-editor.php,1.9,1.10

Matthew Mullenweg saxmatt at users.sourceforge.net
Sun Jan 23 23:00:17 GMT 2005


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

Modified Files:
	theme-editor.php 
Log Message:
Encode entities correctly for edit form

Index: theme-editor.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/theme-editor.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** theme-editor.php	12 Dec 2004 20:41:15 -0000	1.9
--- theme-editor.php	23 Jan 2005 23:00:15 -0000	1.10
***************
*** 74,78 ****
  		$f = fopen($real_file, 'r');
  		$content = fread($f, filesize($real_file));
! 		$content = wp_specialchars($content);
  	}
  
--- 74,78 ----
  		$f = fopen($real_file, 'r');
  		$content = fread($f, filesize($real_file));
! 		$content = htmlspecialchars($content);
  	}
  



More information about the cvs mailing list