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: https://develop.svn.wordpress.org/trunk@12360 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a14caf5287
commit
2cc4860510
@ -198,7 +198,7 @@ function wp_widget_control( $sidebar_args ) {
|
||||
|
||||
<div class="widget-control-actions">
|
||||
<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>
|
||||
</div>
|
||||
<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']) ) { ?>
|
||||
<a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a>
|
||||
<?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 } ?>
|
||||
<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); ?>" />
|
||||
|
Loading…
Reference in New Issue
Block a user