Validation fixes from Simek. fixes #8139

git-svn-id: https://develop.svn.wordpress.org/trunk@9592 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-10 17:49:00 +00:00
parent 554a859a4f
commit eea86a8557
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" />