Changeset 49375 for branches/5.5/src/wp-admin/includes/template.php
- Timestamp:
- 10/29/2020 04:56:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5/src/wp-admin/includes/template.php
r48915 r49375 2019 2019 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();}}}; 2020 2020 function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();} 2021 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative'); ?>',2022 pagenow = '<?php echo $current_screen->id; ?>',2023 typenow = '<?php echo $current_screen->post_type; ?>',2024 adminpage = '<?php echo $admin_body_class; ?>',2025 thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',2026 decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',2021 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', 2022 pagenow = '<?php echo esc_js( $current_screen->id ); ?>', 2023 typenow = '<?php echo esc_js( $current_screen->post_type ); ?>', 2024 adminpage = '<?php echo esc_js( $admin_body_class ); ?>', 2025 thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>', 2026 decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>', 2027 2027 isRtl = <?php echo (int) is_rtl(); ?>; 2028 2028 </script>
Note: See TracChangeset
for help on using the changeset viewer.