Changeset 49375 for branches/5.5/src/wp-admin/includes/media.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/media.php
r48586 r49375 531 531 <script type="text/javascript"> 532 532 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();}}}; 533 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative'); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',533 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup', 534 534 isRtl = <?php echo (int) is_rtl(); ?>; 535 535 </script>
Note: See TracChangeset
for help on using the changeset viewer.