WordPress.org

Make WordPress Core

Changeset 34970


Ignore:
Timestamp:
10/08/2015 10:49:27 PM (6 years ago)
Author:
DrewAPicture
Message:

Docs: Adjust third-person singular verbs in DocBlock summaries for oEmbed functions introduced in [34903].

See #34227.

File:
1 edited

Legend:

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

    r34969 r34970  
    366366
    367367/**
    368  * Add the necessary JavaScript to communicate with the embedded iframes.
     368 * Adds the necessary JavaScript to communicate with the embedded iframes.
    369369 *
    370370 * @since 4.4.0
     
    376376
    377377/**
    378  * Get the URL to embed a specific post in an iframe.
     378 * Retrieves the URL to embed a specific post in an iframe.
    379379 *
    380380 * @since 4.4.0
     
    408408
    409409/**
    410  * Get the oEmbed endpoint URL for a given permalink.
    411  *
    412  * Pass an empty string as the first argument
    413  * to get the endpoint base URL.
     410 * Retrieves the oEmbed endpoint URL for a given permalink.
     411 *
     412 * Pass an empty string as the first argument to get the endpoint base URL.
    414413 *
    415414 * @since 4.4.0
     
    446445
    447446/**
    448  * Get the embed code for a specific post.
     447 * Retrieves the embed code for a specific post.
    449448 *
    450449 * @since 4.4.0
     
    493492
    494493    /**
    495      * Filters the oEmbed HTML output.
     494     * Filter the oEmbed HTML output.
    496495     *
    497496     * @since 4.4.0
     
    506505
    507506/**
    508  * Get the oEmbed response data for a given post.
     507 * Retrieves the oEmbed response data for a given post.
    509508 *
    510509 * @since 4.4.0
     
    629628 * @since 4.4.0
    630629 *
    631  * @param string $format The oEmbed response format. Accepts 'json', 'xml'.
     630 * @param string $format The oEmbed response format. Accepts 'json' or 'xml'.
    632631 * @return string The format, either 'xml' or 'json'. Default 'json'.
    633632 */
     
    676675
    677676/**
    678  * Filters the returned oEmbed HTML.
     677 * Filters the given oEmbed HTML.
    679678 *
    680679 * If the $url isn't on the trusted providers list,
     
    763762
    764763/**
    765  * Display the post excerpt for the embed template.
     764 * Displays the post excerpt for the embed template.
     765 *
     766 * Intended to be used in 'The Loop'.
    766767 *
    767768 * @since 4.4.0
     
    797798
    798799/**
    799  * Print the CSS in the embed iframe header.
     800 * Prints the CSS in the embed iframe header.
    800801 *
    801802 * @since 4.4.0
     
    828829
    829830/**
    830  * Print the CSS in the embed iframe header.
     831 * Prints the CSS in the embed iframe header.
    831832 *
    832833 * @since 4.4.0
Note: See TracChangeset for help on using the changeset viewer.