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

git-svn-id: https://develop.svn.wordpress.org/trunk@21356 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2012-07-27 03:56:27 +00:00
parent e0c0df2587
commit 78f00b2ace
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ function wp_widget_control( $sidebar_args ) {
<div class="widget-title-action">
<a class="widget-action hide-if-no-js" href="#available-widgets"></a>
<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>
<span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span>
<span class="add"><?php _ex( 'Add', 'widget' ); ?></span>
<span class="screen-reader-text"><?php echo $widget_title; ?></span>
</a>
</div>