[wp-cvs] wordpress/wp-admin templates.php,1.35,1.36
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Jan 23 23:21:48 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9019/wp-admin
Modified Files:
templates.php
Log Message:
Encode entities correctly for edit form
Index: templates.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/templates.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** templates.php 19 Jan 2005 15:23:38 -0000 1.35
--- templates.php 23 Jan 2005 23:21:44 -0000 1.36
***************
*** 72,76 ****
$f = fopen($real_file, 'r');
$content = fread($f, filesize($real_file));
! $content = wp_specialchars($content);
}
--- 72,76 ----
$f = fopen($real_file, 'r');
$content = fread($f, filesize($real_file));
! $content = htmlspecialchars($content);
}
More information about the cvs
mailing list