WordPress.org

Make WordPress Core

Changeset 21355


Ignore:
Timestamp:
07/27/12 03:33:38 (3 years ago)
Author:
azaozz
Message:

Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338

File:
1 edited

Legend:

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

    r19712 r21355  
    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 ) ); ?>"> 
     183            <span class="edit"><?php _e( 'Edit' ); ?></span> 
     184            <span class="add"><?php _e( 'Add' ); ?></span> 
     185            <span class="screen-reader-text"><?php echo $widget_title; ?></span> 
     186        </a> 
    183187    </div> 
    184188    <div class="widget-title"><h4><?php echo $widget_title ?><span class="in-widget-title"></span></h4></div> 
Note: See TracChangeset for help on using the changeset viewer.