Changeset 42794 for trunk/src/wp-admin/includes/widgets.php
- Timestamp:
- 03/07/2018 10:26:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/widgets.php
r42343 r42794 91 91 92 92 if ( $sidebar_name ) { 93 $add_to = sprintf( 94 /* translators: %s: widgets sidebar name. */ 95 __( 'Add to: %s' ), 96 $sidebar_name 97 ); 93 98 ?> 94 <div class="sidebar-name" >99 <div class="sidebar-name" data-add-to="<?php echo esc_attr( $add_to ); ?>"> 95 100 <button type="button" class="handlediv hide-if-no-js" aria-expanded="true"> 96 101 <span class="screen-reader-text"><?php echo esc_html( $sidebar_name ); ?></span> … … 240 245 <div class="widget-title-action"> 241 246 <button type="button" class="widget-action hide-if-no-js" aria-expanded="false"> 242 <span class="screen-reader-text"><?php printf( __( 'Edit widget: %s' ), $widget_title ); ?></span> 247 <span class="screen-reader-text edit"><?php printf( __( 'Edit widget: %s' ), $widget_title ); ?></span> 248 <span class="screen-reader-text add"><?php printf( __( 'Add widget: %s' ), $widget_title ); ?></span> 243 249 <span class="toggle-indicator" aria-hidden="true"></span> 244 250 </button>
Note: See TracChangeset
for help on using the changeset viewer.