Make WordPress Core

Ticket #26496: 26496.2.diff

File 26496.2.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.search + '</label>' ) )
     75                        .append( view.el );
    7476        },
    7577
    7678        // Checks when the user gets close to the bottom
     
    597599        className: 'theme-search',
    598600
    599601        attributes: {
    600                 placeholder: l10n.search,
     602                placeholder: l10n.searchPlaceholder,
    601603                type: 'search'
    602604        },
    603605
  • wp-admin/themes.php

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