mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -49,7 +49,8 @@ class Text_Diff {
|
||||
$engine = basename($engine);
|
||||
}
|
||||
|
||||
require_once 'Text/Diff/Engine/' . $engine . '.php';
|
||||
// WP #7391
|
||||
require_once dirname(__FILE__).'/Diff/Engine/' . $engine . '.php';
|
||||
$class = 'Text_Diff_Engine_' . $engine;
|
||||
$diff_engine = new $class();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user