mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
WP_Screen->post_type is always set. see #19131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1dda3e01dd
commit
304a36041a
@ -53,7 +53,7 @@ var userSettings = {
|
||||
},
|
||||
ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php if ( isset($current_screen->post_type) ) echo $current_screen->post_type; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user