2008-04-18 19:38:21 -04:00
|
|
|
<?php
|
2008-09-11 13:46:42 -04:00
|
|
|
/**
|
|
|
|
* WordPress Diff bastard child of old MediaWiki Diff Formatter.
|
|
|
|
*
|
|
|
|
* Basically all that remains is the table structure and some method names.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Diff
|
|
|
|
*/
|
2008-04-18 19:38:21 -04:00
|
|
|
|
2015-09-19 23:52:25 -04:00
|
|
|
if ( ! class_exists( 'Text_Diff', false ) ) {
|
2008-09-11 13:46:42 -04:00
|
|
|
/** Text_Diff class */
|
2020-02-06 01:33:11 -05:00
|
|
|
require ABSPATH . WPINC . '/Text/Diff.php';
|
2008-09-11 13:46:42 -04:00
|
|
|
/** Text_Diff_Renderer class */
|
2020-02-06 01:33:11 -05:00
|
|
|
require ABSPATH . WPINC . '/Text/Diff/Renderer.php';
|
2008-09-11 13:46:42 -04:00
|
|
|
/** Text_Diff_Renderer_inline class */
|
2020-02-06 01:33:11 -05:00
|
|
|
require ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php';
|
2008-04-18 19:38:21 -04:00
|
|
|
}
|
2016-08-31 12:31:29 -04:00
|
|
|
|
2020-02-06 01:33:11 -05:00
|
|
|
require ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php';
|
|
|
|
require ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php';
|