Changeset 17608
- Timestamp:
- 04/05/2011 11:17:10 PM (14 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/thickbox/thickbox.js
r17596 r17608 7 7 8 8 if ( typeof tb_pathToImage != 'string' ) { 9 var tb_pathToImage = thickboxL10n.loadingAnimation;9 var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif"; 10 10 } 11 11 if ( typeof tb_closeImage != 'string' ) { 12 var tb_closeImage = thickboxL10n.closeImage;12 var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png"; 13 13 } 14 14 -
trunk/wp-includes/script-loader.php
r17596 r17608 185 185 $scripts->add_data( 'jquery-table-hotkeys', 'group', 1 ); 186 186 187 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-201 10405');187 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20100407'); 188 188 $scripts->add_data( 'thickbox', 'group', 1 ); 189 189 $scripts->localize( 'thickbox', 'thickboxL10n', array( … … 194 194 'close' => __('Close'), 195 195 'noiframes' => __('This feature requires inline frames. You have iframes disabled or your browser does not support them.'), 196 'loadingAnimation' => includes_url('js/thickbox/loadingAnimation.gif'),197 'closeImage' => includes_url('js/thickbox/tb-close.png'),198 196 'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};' 199 197 ) );
Note: See TracChangeset
for help on using the changeset viewer.