Validation fixes from Simek. fixes #8139

git-svn-id: http://svn.automattic.com/wordpress/trunk@9592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-10 17:49:00 +00:00
parent 293858e984
commit 81f671bb73
2 changed files with 1 additions and 3 deletions

View File

@ -129,7 +129,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
<input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" />
<input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" />
<input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" />
<input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" />
<?php wp_original_referer_field(true, 'previous'); ?>
<input type="hidden" name="noredir" value="1" />

View File

@ -118,14 +118,12 @@ if( !empty($action) ) {
}
?>
<p><?php _e('Deleting the selected plugins will remove the following plugin(s) and their files:'); ?></p>
<p>
<ul>
<?php
foreach ( $plugin_info as $plugin )
echo '<li>', sprintf(__('%s by %s'), $plugin['Name'], $plugin['Author']), '</li>';
?>
</ul>
</p>
<p><?php _e('Are you sure you wish to delete these files?') ?></p>
<form method="post" action="<?php echo clean_url($_SERVER['REQUEST_URI']); ?>" style="display:inline;">
<input type="hidden" name="verify-delete" value="1" />