WordPress.org

Make WordPress Core

Ticket #21338: 21338-3.patch

File 21338-3.patch, 986 bytes (added by cannona, 3 years ago)

Patch 3

  • wp-admin/includes/widgets.php

     
    179179        <div class="widget-top"> 
    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> 
    185189        </div>