Make WordPress Core

Ticket #26496: 26496.diff

File 26496.diff, 1.4 KB (added by nacin, 12 years ago)
  • wp-admin/css/wp-admin.css

     
    66826682        font-size: 16px;
    66836683        font-weight: 300;
    66846684        line-height: 1.5;
     6685        width: 280px;
    66856686}
    66866687
    66876688/**
  • wp-admin/js/theme.js

     
    7070
    7171                // Render and append after screen title
    7272                view.render();
    73                 $('#wpbody h2:first').append( view.el );
     73                $('#wpbody h2:first')
     74                        .append( $.parseHTML( '<label class="screen-reader-text" for="theme-search-input">' + l10n.searchLabel + '</label>' ) )
     75                        .append( view.el );
    7476        },
    7577
    7678        // Checks when the user gets close to the bottom
     
    593595        className: 'theme-search',
    594596
    595597        attributes: {
    596                 placeholder: l10n.search,
     598                placeholder: l10n.searchPlaceholder,
    597599                type: 'search'
    598600        },
    599601
  • wp-admin/themes.php

     
    106106        ),
    107107        'l10n' => array(
    108108                'addNew' => __( 'Add New Theme' ),
    109                 'search'  => __( 'Search...' ),
     109                'searchLabel'  => __( 'Search Installed Themes:' ),
     110                'searchPlaceholder' => __( 'Search installed themes...' ),
    110111        ),
    111112) );
    112113