Changeset 17609
- Timestamp:
- 04/06/2011 12:42:07 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/load-scripts.php
r14442 r17609 86 86 * @ignore 87 87 */ 88 function includes_url() {} 89 90 /** 91 * @ignore 92 */ 88 93 function wp_guess_url() {} 89 94 -
trunk/wp-includes/js/thickbox/thickbox.js
r17608 r17609 7 7 8 8 if ( typeof tb_pathToImage != 'string' ) { 9 var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif";9 var tb_pathToImage = thickboxL10n.loadingAnimation; 10 10 } 11 11 if ( typeof tb_closeImage != 'string' ) { 12 var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png";12 var tb_closeImage = thickboxL10n.closeImage; 13 13 } 14 14 -
trunk/wp-includes/script-loader.php
r17608 r17609 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 00407');187 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20110405'); 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'), 196 198 'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};' 197 199 ) );
Note: See TracChangeset
for help on using the changeset viewer.