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:
parent
e0c0df2587
commit
78f00b2ace
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user