Make WordPress Core


Ignore:
Timestamp:
03/06/2024 05:04:00 AM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a description for the $wp_embed global.

Follow-up to [57748].

See #60699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r57755 r57785  
    275275 * @since 3.1.0
    276276 *
    277  * @global WP_Embed $wp_embed
     277 * @global WP_Embed $wp_embed WordPress Embed object.
    278278 */
    279279function wp_ajax_oembed_cache() {
     
    33823382 *
    33833383 * @global WP_Post  $post     Global post object.
    3384  * @global WP_Embed $wp_embed
     3384 * @global WP_Embed $wp_embed WordPress Embed object.
    33853385 */
    33863386function wp_ajax_send_link_to_editor() {
     
    37343734 * @since 4.0.0
    37353735 *
    3736  * @global WP_Post    $post       Global post object.
    3737  * @global WP_Embed   $wp_embed   Embed API instance.
     3736 * @global WP_Post    $post          Global post object.
     3737 * @global WP_Embed   $wp_embed      WordPress Embed object.
    37383738 * @global WP_Scripts $wp_scripts
    37393739 * @global int        $content_width
Note: See TracChangeset for help on using the changeset viewer.