Changeset 49384 for trunk/src/wp-admin/admin-header.php
- Timestamp:
- 10/29/2020 06:00:58 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.5 merged: 49375
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/admin-header.php
r49108 r49384 83 83 <script type="text/javascript"> 84 84 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();}}}; 85 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative'); ?>',86 pagenow = '<?php echo $current_screen->id; ?>',87 typenow = '<?php echo $current_screen->post_type; ?>',88 adminpage = '<?php echo $admin_body_class; ?>',89 thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',90 decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',85 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', 86 pagenow = '<?php echo esc_js( $current_screen->id ); ?>', 87 typenow = '<?php echo esc_js( $current_screen->post_type ); ?>', 88 adminpage = '<?php echo esc_js( $admin_body_class ); ?>', 89 thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>', 90 decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>', 91 91 isRtl = <?php echo (int) is_rtl(); ?>; 92 92 </script>
Note: See TracChangeset
for help on using the changeset viewer.