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:
parent
293858e984
commit
81f671bb73
|
@ -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="c" value="<?php echo $comment->comment_ID ?>" />
|
||||||
<input type="hidden" name="p" value="<?php echo $comment->comment_post_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'); ?>
|
<?php wp_original_referer_field(true, 'previous'); ?>
|
||||||
<input type="hidden" name="noredir" value="1" />
|
<input type="hidden" name="noredir" value="1" />
|
||||||
|
|
||||||
|
|
|
@ -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><?php _e('Deleting the selected plugins will remove the following plugin(s) and their files:'); ?></p>
|
||||||
<p>
|
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
foreach ( $plugin_info as $plugin )
|
foreach ( $plugin_info as $plugin )
|
||||||
echo '<li>', sprintf(__('%s by %s'), $plugin['Name'], $plugin['Author']), '</li>';
|
echo '<li>', sprintf(__('%s by %s'), $plugin['Name'], $plugin['Author']), '</li>';
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
<p><?php _e('Are you sure you wish to delete these files?') ?></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;">
|
<form method="post" action="<?php echo clean_url($_SERVER['REQUEST_URI']); ?>" style="display:inline;">
|
||||||
<input type="hidden" name="verify-delete" value="1" />
|
<input type="hidden" name="verify-delete" value="1" />
|
||||||
|
|
Loading…
Reference in New Issue