Changeset 36984 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 03/14/2016 12:52:20 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r36964 r36984 205 205 206 206 $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 207 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array( 'jquery-ui-menu'), '1.11.4', 1 );207 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array( 'jquery-ui-menu', 'wp-a11y' ), '1.11.4', 1 ); 208 208 $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 209 209 $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$dev_suffix.js", array('jquery-ui-core'), '1.11.4', 1 ); … … 227 227 // Strings for 'jquery-ui-autocomplete' live region messages 228 228 did_action( 'init' ) && $scripts->localize( 'jquery-ui-autocomplete', 'uiAutocompleteL10n', array( 229 230 231 232 229 'noResults' => __( 'No search results.' ), 230 /* translators: Number of results found when using jQuery UI Autocomplete */ 231 'oneResult' => __( '1 result found. Use up and down arrow keys to navigate.' ), 232 'manyResults' => __( '%d results found. Use up and down arrow keys to navigate.' ), 233 233 ) ); 234 234 … … 253 253 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20121105', 1 ); 254 254 did_action( 'init' ) && $scripts->localize( 'thickbox', 'thickboxL10n', array( 255 256 257 258 259 260 261 255 'next' => __('Next >'), 256 'prev' => __('< Prev'), 257 'image' => __('Image'), 258 'of' => __('of'), 259 'close' => __('Close'), 260 'noiframes' => __('This feature requires inline frames. You have iframes disabled or your browser does not support them.'), 261 'loadingAnimation' => includes_url('js/thickbox/loadingAnimation.gif'), 262 262 ) ); 263 263 … … 402 402 $scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", array(), false, 1 ); 403 403 404 $scripts->add( 'wplink', "/wp-includes/js/wplink$suffix.js", array( 'jquery' ), false, 1 );404 $scripts->add( 'wplink', "/wp-includes/js/wplink$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 ); 405 405 did_action( 'init' ) && $scripts->localize( 'wplink', 'wpLinkL10n', array( 406 406 'title' => __('Insert/edit link'), … … 408 408 'save' => __('Add Link'), 409 409 'noTitle' => __('(no title)'), 410 'noMatchesFound' => __('No results found.') 410 'noMatchesFound' => __('No results found.'), 411 'linkSelected' => __( 'Link selected.' ), 412 'linkInserted' => __( 'Link inserted.' ), 411 413 ) ); 412 414
Note: See TracChangeset
for help on using the changeset viewer.