Changeset 51177 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 06/17/2021 02:35:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r51058 r51177 87 87 return; 88 88 } 89 90 89 ?> 91 90 <script type="text/javascript"> 92 91 jQuery(document).ready(function($){ 93 $.get("<?php echo admin_url( 'admin-ajax.php?action=oembed-cache&post=' . $post->ID, 'relative' ); ?>");92 $.get("<?php echo esc_url( admin_url( 'admin-ajax.php', 'relative' ) ) . '?action=oembed-cache&post=' . $post->ID; ?>"); 94 93 }); 95 94 </script>
Note: See TracChangeset
for help on using the changeset viewer.