Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: http://svn.automattic.com/wordpress/trunk@12360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8f2d7720db
commit
14f6764df9
|
@ -198,7 +198,7 @@ function wp_widget_control( $sidebar_args ) {
|
||||||
|
|
||||||
<div class="widget-control-actions">
|
<div class="widget-control-actions">
|
||||||
<div class="alignleft">
|
<div class="alignleft">
|
||||||
<a class="widget-control-remove" href="#remove"><?php _e('Remove'); ?></a> |
|
<a class="widget-control-remove" href="#remove"><?php _e('Delete'); ?></a> |
|
||||||
<a class="widget-control-close" href="#close"><?php _e('Close'); ?></a>
|
<a class="widget-control-close" href="#close"><?php _e('Close'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>">
|
<div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>">
|
||||||
|
|
|
@ -296,7 +296,7 @@ if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) {
|
||||||
<?php if ( isset($_GET['addnew']) ) { ?>
|
<?php if ( isset($_GET['addnew']) ) { ?>
|
||||||
<a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a>
|
<a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Remove'); ?>" />
|
<input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Delete'); ?>" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<input type="submit" name="savewidget" class="button-primary alignright" value="<?php esc_attr_e('Save Widget'); ?>" />
|
<input type="submit" name="savewidget" class="button-primary alignright" value="<?php esc_attr_e('Save Widget'); ?>" />
|
||||||
<input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr($widget_id); ?>" />
|
<input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr($widget_id); ?>" />
|
||||||
|
|
Loading…
Reference in New Issue