Make WordPress Core


Ignore:
Timestamp:
11/30/2021 05:16:13 PM (2 years ago)
Author:
hellofromTonya
Message:

External Libraries: Further fix jQuery deprecations in WordPress core.

Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].

Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-embed.php

    r51177 r52285  
    8989        ?>
    9090<script type="text/javascript">
    91     jQuery(document).ready(function($){
     91    jQuery( function($) {
    9292        $.get("<?php echo esc_url( admin_url( 'admin-ajax.php', 'relative' ) ) . '?action=oembed-cache&post=' . $post->ID; ?>");
    93     });
     93    } );
    9494</script>
    9595        <?php
Note: See TracChangeset for help on using the changeset viewer.