WordPress.org

Make WordPress Core

Changeset 21645


Ignore:
Timestamp:
08/28/12 17:27:18 (20 months ago)
Author:
nacin
Message:

Use ABSPATH . WPINC rather than dynamically building the include path. see #21183.

File:
1 edited

Legend:

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

    r21644 r21645  
    2626        return; 
    2727 
    28     $file = dirname( __FILE__ ) . '/' . str_replace( '_', '/', $class ) . '.php'; 
     28    $file = ABSPATH . WPINC . '/' . str_replace( '_', '/', $class ) . '.php'; 
    2929    include $file; 
    3030} 
Note: See TracChangeset for help on using the changeset viewer.