More special chars encoding fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2281378585
commit
83844c9b8b
|
@ -90,7 +90,7 @@ function write_nested_categories($categories) {
|
|||
foreach($categories as $category) {
|
||||
echo '<label for="category-', $category['cat_ID'], '" class="selectit"><input value="', $category['cat_ID'],
|
||||
'" type="checkbox" name="post_category[]" id="category-', $category['cat_ID'], '"',
|
||||
($category['checked'] ? ' checked="checked"' : ""), '/> ', $category['cat_name'], "</label>\n";
|
||||
($category['checked'] ? ' checked="checked"' : ""), '/> ', htmlspecialchars($category['cat_name']), "</label>\n";
|
||||
|
||||
if(isset($category['children'])) {
|
||||
echo "\n<span class='cat-nest'>\n";
|
||||
|
|
|
@ -757,7 +757,7 @@ $bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
|
|||
|
||||
if ($is_NS4 || $is_gecko) {
|
||||
?>
|
||||
<a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), get_settings('blogname')); ?></a>
|
||||
<a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), htmlspecialchars(get_settings('blogname'))); ?></a>
|
||||
<?php
|
||||
} else if ($is_winIE) {
|
||||
?>
|
||||
|
|
|
@ -183,7 +183,7 @@ if ($error) echo "<div align=\"right\" style=\"padding:4px;\"><font color=\"#FF0
|
|||
<input type="hidden" name="action" value="retrievepassword" />
|
||||
<label><?php _e('Login:') ?> <input type="text" name="user_login" id="user_login" value="" size="12" /></label><br />
|
||||
<label><?php _e('E-mail:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br />
|
||||
<input type="submit" name="Submit2" value="OK" class="search">
|
||||
<input type="submit" name="Submit2" value="OK" class="search" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
@ -264,7 +264,7 @@ default:
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title><?php printf(__('WordPress > %s > Login form'), get_settings('blogname')) ?></title>
|
||||
<title><?php printf(__('WordPress > %s > Login form'), htmlspecialchars(get_settings('blogname'))) ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
|
||||
<link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" />
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in New Issue