[wp-cvs] wordpress/wp-includes functions.php,1.101.4.7,1.101.4.8
Matthew Mullenweg
saxmatt at users.sourceforge.net
Wed Dec 15 19:41:52 UTC 2004
- Previous message: [wp-cvs] wordpress xmlrpc.php,1.28.2.1,1.28.2.2
- Next message: [wp-cvs] wordpress/wp-admin bookmarklet.php, 1.9.4.2,
1.9.4.3 categories.php, 1.28.4.2, 1.28.4.3 edit-comments.php,
1.23.4.1, 1.23.4.2 edit-form-advanced.php, 1.24,
1.24.4.1 edit-form.php, 1.22, 1.22.4.1 edit.php, 1.21.4.2,
1.21.4.3 link-add.php, 1.11, 1.11.4.1 link-categories.php, 1.8,
1.8.4.1 link-manager.php, 1.23.4.2, 1.23.4.3 templates.php,
1.18, 1.18.4.1 upload.php, 1.14.4.4, 1.14.4.5 users.php, 1.26,
1.26.4.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12021/wp-includes
Modified Files:
Tag: WordPress-Ver-1_2-Branch
functions.php
Log Message:
Backport the encoding fixes and name cleanups.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.101.4.7
retrieving revision 1.101.4.8
diff -C2 -d -r1.101.4.7 -r1.101.4.8
*** functions.php 15 Dec 2004 19:01:52 -0000 1.101.4.7
--- functions.php 15 Dec 2004 19:41:50 -0000 1.101.4.8
***************
*** 1414,1416 ****
}
! ?>
--- 1414,1428 ----
}
! function wp_specialchars( $text, $quotes = 0 ) {
! // Like htmlspecialchars except don't double-encode HTML entities
! $text = preg_replace('/&([^#])(?![a-z12]{1,8};)/', '&$1', $text);-
! $text = str_replace('<', '<', $text);
! $text = str_replace('>', '>', $text);
! if ( $quotes ) {
! $text = str_replace('"', '"', $text);
! $text = str_replace('"', ''', $text);
! }
! return $text;
! }
!
! ?>
\ No newline at end of file
- Previous message: [wp-cvs] wordpress xmlrpc.php,1.28.2.1,1.28.2.2
- Next message: [wp-cvs] wordpress/wp-admin bookmarklet.php, 1.9.4.2,
1.9.4.3 categories.php, 1.28.4.2, 1.28.4.3 edit-comments.php,
1.23.4.1, 1.23.4.2 edit-form-advanced.php, 1.24,
1.24.4.1 edit-form.php, 1.22, 1.22.4.1 edit.php, 1.21.4.2,
1.21.4.3 link-add.php, 1.11, 1.11.4.1 link-categories.php, 1.8,
1.8.4.1 link-manager.php, 1.23.4.2, 1.23.4.3 templates.php,
1.18, 1.18.4.1 upload.php, 1.14.4.4, 1.14.4.5 users.php, 1.26,
1.26.4.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list