Make WordPress Core


Ignore:
Timestamp:
11/19/2013 06:02:14 PM (11 years ago)
Author:
azaozz
Message:

Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821

File:
1 edited

Legend:

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

    r26054 r26271  
    408408
    409409<div id="widgets-chooser">
    410     <h3><?php _e( 'Choose an area to place this widget&hellip;' ); ?></h3>
     410    <h3><?php _e( 'Choose a sidebar:' ); ?></h3>
    411411    <ul class="widgets-chooser-sidebars"></ul>
    412412    <div class="widgets-chooser-actions">
     413        <button class="button-secondary"><?php _e( 'Cancel' ); ?></button>
    413414        <button class="button-primary"><?php _e( 'Add Widget' ); ?></button>
    414         <button class="button-secondary"><?php _e( 'Cancel' ); ?></button>
    415415    </div>
    416416</div>
Note: See TracChangeset for help on using the changeset viewer.