WordPress.org

Make WordPress Core

Changeset 17609


Ignore:
Timestamp:
04/06/11 00:42:07 (4 years ago)
Author:
dd32
Message:

Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/load-scripts.php

    r14442 r17609  
    8686 * @ignore 
    8787 */ 
     88function includes_url() {} 
     89 
     90/** 
     91 * @ignore 
     92 */ 
    8893function wp_guess_url() {} 
    8994 
  • trunk/wp-includes/js/thickbox/thickbox.js

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

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