Make WordPress Core

Changeset 29164


Ignore:
Timestamp:
07/14/2014 01:06:58 AM (10 years ago)
Author:
DrewAPicture
Message:

Inline documentation cleanup for 4.0 audit.

Added in [28652]:

  • Various phpDoc improvements for wp_embed_handler_youtube()
  • Adds @see reference to wp_embed_handler_youtube() in 'wp_embed_handler_youtube' filter docs

Added in [29029]:

  • s/post_id/post ID in @return description for attachment_url_to_postid()

See #28885.

File:
1 edited

Legend:

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

    r29136 r29164  
    22822282
    22832283/**
    2284  * The YouTube embed handler callback. Catches URLs that can be parsed but aren't supported by oEmbed.
     2284 * YouTube embed handler callback.
     2285 *
     2286 * Catches URLs that can be parsed but aren't supported by oEmbed.
    22852287 *
    22862288 * @since 4.0.0
    22872289 *
    2288  * @param array $matches The regex matches from the provided regex when calling {@link wp_embed_register_handler()}.
    2289  * @param array $attr Embed attributes.
    2290  * @param string $url The original URL that was matched by the regex.
    2291  * @param array $rawattr The original unmodified attributes.
     2290 * @param array  $matches The regex matches from the provided regex when calling
     2291 *                        {@link wp_embed_register_handler()}.
     2292 * @param array  $attr    Embed attributes.
     2293 * @param string $url     The original URL that was matched by the regex.
     2294 * @param array  $rawattr The original unmodified attributes.
    22922295 * @return string The embed HTML.
    22932296 */
     
    22992302     *
    23002303     * @since 4.0.0
     2304     *
     2305     * @see wp_embed_handler_youtube()
    23012306     *
    23022307     * @param string $embed   YouTube embed output.
     
    32333238 *
    32343239 * @global wpdb $wpdb WordPress database access abstraction object.
     3240 *
    32353241 * @param string $url The URL to resolve.
    3236  * @return int The found post_id.
     3242 * @return int The found post ID.
    32373243 */
    32383244function attachment_url_to_postid( $url ) {
Note: See TracChangeset for help on using the changeset viewer.