Make WordPress Core


Ignore:
Timestamp:
05/22/2016 05:39:00 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Remove/replace invalid inline @link tags in DocBlocks in wp-includes/*.

Fixes #36910.

File:
1 edited

Legend:

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

    r36970 r37487  
    4444     * Since the [embed] shortcode needs to be run earlier than other shortcodes,
    4545     * this function removes all existing shortcodes, registers the [embed] shortcode,
    46      * calls {@link do_shortcode()}, and then re-registers the old shortcodes.
     46     * calls do_shortcode(), and then re-registers the old shortcodes.
    4747     *
    4848     * @global array $shortcode_tags
     
    8989
    9090    /**
    91      * Register an embed handler. Do not use this function directly, use {@link wp_embed_register_handler()} instead.
     91     * Registers an embed handler.
     92     *
     93     * Do not use this function directly, use wp_embed_register_handler() instead.
     94     *
    9295     * This function should probably also only be used for sites that do not support oEmbed.
    9396     *
     
    105108
    106109    /**
    107      * Unregister a previously registered embed handler. Do not use this function directly, use {@link wp_embed_unregister_handler()} instead.
     110     * Unregisters a previously-registered embed handler.
     111     *
     112     * Do not use this function directly, use wp_embed_unregister_handler() instead.
    108113     *
    109114     * @param string $id The handler ID that should be removed.
     
    115120
    116121    /**
    117      * The {@link do_shortcode()} callback function.
    118      *
    119      * Attempts to convert a URL into embed HTML. Starts by checking the URL against the regex of the registered embed handlers.
    120      * If none of the regex matches and it's enabled, then the URL will be given to the {@link WP_oEmbed} class.
     122     * The do_shortcode() callback function.
     123     *
     124     * Attempts to convert a URL into embed HTML. Starts by checking the URL against the regex of
     125     * the registered embed handlers. If none of the regex matches and it's enabled, then the URL
     126     * will be given to the WP_oEmbed class.
    121127     *
    122128     * @param array $attr {
     
    313319
    314320    /**
    315      * Passes any unlinked URLs that are on their own line to {@link WP_Embed::shortcode()} for potential embedding.
    316      *
    317      * @uses WP_Embed::autoembed_callback()
     321     * Passes any unlinked URLs that are on their own line to WP_Embed::shortcode() for potential embedding.
     322     *
     323     * @see WP_Embed::autoembed_callback()
    318324     *
    319325     * @param string $content The content to be searched.
     
    332338
    333339    /**
    334      * Callback function for {@link WP_Embed::autoembed()}.
     340     * Callback function for WP_Embed::autoembed().
    335341     *
    336342     * @param array $match A regex match array.
Note: See TracChangeset for help on using the changeset viewer.