Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b4a2ecf0c4
commit
ba0153096a
|
@ -82,6 +82,11 @@ function admin_url() {}
|
|||
*/
|
||||
function home_url() {}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
function includes_url() {}
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
*/
|
||||
|
||||
if ( typeof tb_pathToImage != 'string' ) {
|
||||
var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif";
|
||||
var tb_pathToImage = thickboxL10n.loadingAnimation;
|
||||
}
|
||||
if ( typeof tb_closeImage != 'string' ) {
|
||||
var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png";
|
||||
var tb_closeImage = thickboxL10n.closeImage;
|
||||
}
|
||||
|
||||
/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
|
||||
|
|
|
@ -184,7 +184,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
$scripts->add( 'jquery-table-hotkeys', "/wp-includes/js/jquery/jquery.table-hotkeys$suffix.js", array('jquery', 'jquery-hotkeys'), '20090102' );
|
||||
$scripts->add_data( 'jquery-table-hotkeys', 'group', 1 );
|
||||
|
||||
$scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20100407');
|
||||
$scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20110405');
|
||||
$scripts->add_data( 'thickbox', 'group', 1 );
|
||||
$scripts->localize( 'thickbox', 'thickboxL10n', array(
|
||||
'next' => __('Next >'),
|
||||
|
@ -193,6 +193,8 @@ function wp_default_scripts( &$scripts ) {
|
|||
'of' => __('of'),
|
||||
'close' => __('Close'),
|
||||
'noiframes' => __('This feature requires inline frames. You have iframes disabled or your browser does not support them.'),
|
||||
'loadingAnimation' => includes_url('js/thickbox/loadingAnimation.gif'),
|
||||
'closeImage' => includes_url('js/thickbox/tb-close.png'),
|
||||
'l10n_print_after' => 'try{convertEntities(thickboxL10n);}catch(e){};'
|
||||
) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue