WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/18/2010 06:14:45 AM (12 years ago)
Author:
nacin
Message:

Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.

File:
1 edited

Legend:

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

    r14105 r14139  
    13331333 */
    13341334function wp_oembed_get( $url, $args = '' ) {
    1335     require_once( 'class-oembed.php' );
     1335    require_once( './class-oembed.php' );
    13361336    $oembed = _wp_oembed_get_object();
    13371337    return $oembed->get_html( $url, $args );
     
    13511351 */
    13521352function wp_oembed_add_provider( $format, $provider, $regex = false ) {
    1353     require_once( 'class-oembed.php' );
     1353    require_once( './class-oembed.php' );
    13541354    $oembed = _wp_oembed_get_object();
    13551355    $oembed->providers[$format] = array( $provider, $regex );
Note: See TracChangeset for help on using the changeset viewer.