WordPress.org

Make WordPress Core

Changeset 20562


Ignore:
Timestamp:
04/22/12 11:19:56 (2 years ago)
Author:
duck_
Message:

wp_oembed_get() returns false on failure. Props SergeyBiryukov. Fixes #20355.

File:
1 edited

Legend:

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

    r20230 r20562  
    13791379 * @param string $url The URL that should be embedded. 
    13801380 * @param array $args Additional arguments and parameters. 
    1381  * @return string The original URL on failure or the embed HTML on success. 
     1381 * @return bool|string False on failure or the embed HTML on success. 
    13821382 */ 
    13831383function wp_oembed_get( $url, $args = '' ) { 
Note: See TracChangeset for help on using the changeset viewer.