Changeset 24187 for trunk/wp-admin/includes/template.php
- Timestamp:
- 05/07/2013 03:49:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r24052 r24187 1426 1426 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();}}}; 1427 1427 function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();} 1428 var userSettings = { 1429 'url': '<?php echo SITECOOKIEPATH; ?>', 1430 'uid': '<?php if ( ! isset($current_user) ) $current_user = wp_get_current_user(); echo $current_user->ID; ?>', 1431 'time':'<?php echo time() ?>' 1432 }, 1433 ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', 1428 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', 1434 1429 pagenow = '<?php echo $current_screen->id; ?>', 1435 1430 typenow = '<?php echo $current_screen->post_type; ?>',
Note: See TracChangeset
for help on using the changeset viewer.