WordPress.org

Make WordPress Core

Ticket #10379: 10379.diff

File 10379.diff, 1.4 KB (added by scohoust, 5 years ago)
  • wp-admin/widgets.php

     
    283283<?php   if ( isset($_GET['addnew']) ) { ?> 
    284284        <a href="widgets.php" class="button alignleft"><?php _e('Cancel'); ?></a> 
    285285<?php   } else { ?> 
    286         <input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Remove'); ?>" /> 
     286        <input type="submit" name="removewidget" class="button alignleft" value="<?php esc_attr_e('Delete'); ?>" /> 
    287287<?php   } ?> 
    288288        <input type="submit" name="savewidget" class="button-primary alignright" value="<?php esc_attr_e('Save Widget'); ?>" /> 
    289289        <input type="hidden" name="widget-id" class="widget-id" value="<?php echo esc_attr($widget_id); ?>" /> 
  • wp-admin/includes/widgets.php

     
    188188 
    189189        <div class="widget-control-actions"> 
    190190                <div class="alignleft"> 
    191                 <a class="widget-control-remove" href="#remove"><?php _e('Remove'); ?></a> | 
     191                <a class="widget-control-remove" href="#remove"><?php _e('Delete'); ?></a> | 
    192192                <a class="widget-control-close" href="#close"><?php _e('Close'); ?></a> 
    193193                </div> 
    194194                <div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>">