Changeset 49403 for branches/4.3/src/wp-admin/includes/template.php
- Timestamp:
- 10/29/2020 07:05:53 PM (4 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/branches/5.5 (added) merged: 49373-49379,49381 /trunk merged: 49380,49382-49388
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-admin/includes/template.php
r41444 r49403 1619 1619 addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; 1620 1620 function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();} 1621 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative'); ?>',1622 pagenow = '<?php echo $current_screen->id; ?>',1623 typenow = '<?php echo $current_screen->post_type; ?>',1624 adminpage = '<?php echo $admin_body_class; ?>',1625 thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',1626 decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',1621 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', 1622 pagenow = '<?php echo esc_js( $current_screen->id ); ?>', 1623 typenow = '<?php echo esc_js( $current_screen->post_type ); ?>', 1624 adminpage = '<?php echo esc_js( $admin_body_class ); ?>', 1625 thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>', 1626 decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>', 1627 1627 isRtl = <?php echo (int) is_rtl(); ?>; 1628 1628 </script>
Note: See TracChangeset
for help on using the changeset viewer.