Make WordPress Core


Ignore:
Timestamp:
08/07/2008 09:02:07 PM (18 years ago)
Author:
ryan
Message:

Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk

File:
1 edited

Legend:

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

    r8572 r8581  
    15311531        $args = wp_parse_args( $args, $defaults );
    15321532
    1533         // PEAR Text_Diff is lame; it includes things from include_path rather than it's own path.
    1534         // Not sure of the ramifications of disttributing modified code.
    1535         ini_set('include_path', '.' . PATH_SEPARATOR . ABSPATH . WPINC );
    1536 
    15371533        if ( !class_exists( 'WP_Text_Diff_Renderer_Table' ) )
    15381534                require( ABSPATH . WPINC . '/wp-diff.php' );
     
    15531549        $diff = $renderer->render($text_diff);
    15541550
    1555         ini_restore('include_path');
    1556 
    15571551        if ( !$diff )
    15581552                return '';
Note: See TracChangeset for help on using the changeset viewer.