WordPress.org

Make WordPress Core

Changeset 21645


Ignore:
Timestamp:
08/28/2012 05:27:18 PM (6 years 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.