WordPress.org

Make WordPress Core

Changeset 17608


Ignore:
Timestamp:
04/05/11 23:17:10 (4 years ago)
Author:
nacin
Message:

Revert [17596] for now. props kawauso, see #17057, see #17050.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/thickbox/thickbox.js

    r17596 r17608  
    77 
    88if ( typeof tb_pathToImage != 'string' ) { 
    9     var tb_pathToImage = thickboxL10n.loadingAnimation; 
     9    var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif"; 
    1010} 
    1111if ( typeof tb_closeImage != 'string' ) { 
    12     var tb_closeImage = thickboxL10n.closeImage; 
     12    var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png"; 
    1313} 
    1414 
  • trunk/wp-includes/script-loader.php

    r17596 r17608  
    185185    $scripts->add_data( 'jquery-table-hotkeys', 'group', 1 ); 
    186186 
    187     $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20110405'); 
     187    $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20100407'); 
    188188    $scripts->add_data( 'thickbox', 'group', 1 ); 
    189189    $scripts->localize( 'thickbox', 'thickboxL10n', array( 
     
    194194            'close' => __('Close'), 
    195195            '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'), 
    198196            'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};' 
    199197    ) ); 
Note: See TracChangeset for help on using the changeset viewer.