Make WordPress Core

Changeset 12360


Ignore:
Timestamp:
12/10/2009 08:51:36 AM (15 years ago)
Author:
markjaquith
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/widgets.php

    r12284 r12360  
    199199    <div class="widget-control-actions">
    200200        <div class="alignleft">
    201         <a class="widget-control-remove" href="#remove"><?php _e('Remove'); ?></a> |
     201        <a class="widget-control-remove" href="#remove"><?php _e('Delete'); ?></a> |
    202202        <a class="widget-control-close" href="#close"><?php _e('Close'); ?></a>
    203203        </div>
  • trunk/wp-admin/widgets.php

    r12213 r12360  
    297297    <a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a>
    298298<?php   } else { ?>
    299     <input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Remove'); ?>" />
     299    <input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Delete'); ?>" />
    300300<?php   } ?>
    301301    <input type="submit" name="savewidget" class="button-primary alignright" value="<?php esc_attr_e('Save Widget'); ?>" />
Note: See TracChangeset for help on using the changeset viewer.