WordPress.org

Make WordPress Core

Changeset 21356


Ignore:
Timestamp:
07/27/12 03:56:27 (21 months ago)
Author:
azaozz
Message:

Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338

File:
1 edited

Legend:

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

    r21355 r21356  
    181181        <a class="widget-action hide-if-no-js" href="#available-widgets"></a> 
    182182        <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"> 
    183             <span class="edit"><?php _e( 'Edit' ); ?></span> 
    184             <span class="add"><?php _e( 'Add' ); ?></span> 
     183            <span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span> 
     184            <span class="add"><?php _ex( 'Add', 'widget' ); ?></span> 
    185185            <span class="screen-reader-text"><?php echo $widget_title; ?></span> 
    186186        </a> 
Note: See TracChangeset for help on using the changeset viewer.