Make WordPress Core


Ignore:
Timestamp:
12/01/2014 01:33:34 AM (11 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/*.

See #30224.

File:
1 edited

Legend:

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

    r30536 r30681  
    271271     * @param string $url The URL to the content that should be attempted to be embedded.
    272272     * @param array $args Optional arguments. Usually passed from a shortcode.
    273      * @return bool|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
     273     * @return false|string False on failure, otherwise the UNSANITIZED (and potentially unsafe) HTML that should be used to embed.
    274274     */
    275275    function get_html( $url, $args = '' ) {
     
    497497     * @param object $data A data object result from an oEmbed provider.
    498498     * @param string $url The URL to the content that is desired to be embedded.
    499      * @return bool|string False on error, otherwise the HTML needed to embed.
     499     * @return false|string False on error, otherwise the HTML needed to embed.
    500500     */
    501501    public function data2html( $data, $url ) {
Note: See TracChangeset for help on using the changeset viewer.