Fix notice in wp-admin/includes/widgets.php

git-svn-id: http://svn.automattic.com/wordpress/trunk@11309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-05-12 19:12:50 +00:00
parent 45a38585d1
commit 12be75ed58

View File

@ -191,7 +191,7 @@ function wp_widget_control( $sidebar_args ) {
<input type="hidden" name="add_new" class="add_new" value="<?php echo esc_attr($add_new); ?>" /> <input type="hidden" name="add_new" class="add_new" value="<?php echo esc_attr($add_new); ?>" />
<div class="widget-control-actions"> <div class="widget-control-actions">
<a class="button widget-control-remove alignleft" href="<?php echo $edit ? clean_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key, '_wpnonce' => $nonce ) ) ) : '#remove'; ?>"><?php _e('Remove'); ?></a> <a class="button widget-control-remove alignleft" href="#remove"><?php _e('Remove'); ?></a>
<?php if ( 'noform' !== $has_form ) { ?> <?php if ( 'noform' !== $has_form ) { ?>
<input type="submit" name="savewidget" class="button-primary widget-control-save alignright" value="<?php esc_attr_e('Save'); ?>" /> <input type="submit" name="savewidget" class="button-primary widget-control-save alignright" value="<?php esc_attr_e('Save'); ?>" />
<?php } ?> <?php } ?>