[wp-cvs] wordpress/wp-admin admin-functions.php, 1.66, 1.67 bookmarklet.php, 1.16, 1.17 categories.php, 1.44, 1.45 edit-comments.php, 1.40, 1.41 edit-form-advanced.php, 1.44, 1.45 edit-page-form.php, 1.14, 1.15 edit.php, 1.37, 1.38 link-add.php, 1.19, 1.20 link-categories.php, 1.17, 1.18 link-manager.php, 1.41, 1.42 options.php, 1.37, 1.38 plugin-editor.php, 1.3, 1.4 post.php, 1.112, 1.113 profile.php, 1.33, 1.34 sidebar.php, 1.13, 1.14 templates.php, 1.30, 1.31 theme-editor.php, 1.8, 1.9 user-edit.php, 1.7, 1.8 users.php, 1.41, 1.42

Dougal Campbell dougal at gunters.org
Mon Dec 13 14:41:31 UTC 2004


Matthew Mullenweg wrote:

>Update of /cvsroot/cafelog/wordpress/wp-admin
>In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7803/wp-admin
>
>Modified Files:
>	admin-functions.php bookmarklet.php categories.php 
>	edit-comments.php edit-form-advanced.php edit-page-form.php 
>	edit.php link-add.php link-categories.php link-manager.php 
>	options.php plugin-editor.php post.php profile.php sidebar.php 
>	templates.php theme-editor.php user-edit.php users.php 
>Log Message:
>Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
>  
>

I added a function called htmlentities2() a while back that will encode 
entities, but will ignore existing already-encoded entities. I can't 
claim credit for the code, I found it on the php.net site.

Just an FYI for anybody who wasn't aware that this function was there.

-- 
Dougal




More information about the cvs mailing list