[wp-trac] [WordPress Trac] #13268: Website URL as plain text causes error
WordPress Trac
wp-trac at lists.automattic.com
Thu May 6 12:16:16 UTC 2010
#13268: Website URL as plain text causes error
--------------------------+-------------------------------------------------
Reporter: coyot | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Unassigned
Component: General | Version: 2.9.2
Severity: minor | Keywords: slash url
--------------------------+-------------------------------------------------
Comment(by ocean90):
This should be fixed in 3.0.[[BR]]
2.9 code block:
{{{
function wp_oembed_get( $url, $args = '' ) {
require_once( 'class-oembed.php' );
$oembed = _wp_oembed_get_object();
return $oembed->get_html( $url, $args );
}
}}}
trunk code block:
{{{
function wp_oembed_get( $url, $args = '' ) {
require_once( ABSPATH . WPINC . '/class-oembed.php' );
$oembed = _wp_oembed_get_object();
return $oembed->get_html( $url, $args );
}
}}}
Can't find a ticket for this at the moment.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13268#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list