WordPress.org

Make WordPress Core

Ticket #21338: 21338-1.patch

File 21338-1.patch, 954 bytes (added by cannona, 21 months ago)

Patch.

  • wp-admin/includes/widgets.php

     
    179179        <div class="widget-top"> 
    180180        <div class="widget-title-action"> 
    181181                <a class="widget-action hide-if-no-js" href="#available-widgets"></a> 
    182                 <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"><span class="edit"><?php _e('Edit'); ?></span><span class="add"><?php _e('Add'); ?></span></a> 
     182                <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"><span class="edit"><?php printf( __( 'Edit %s' ), $widget_title ); ?></span><span class="add"><?php printf( __( 'Add %s' ), $widget_title ); ?></span></a> 
    183183        </div> 
    184184        <div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div> 
    185185        </div>