author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:35:50 +0200 | |
changeset 11 | bf1778c34b9a |
parent 9 | 177826044cd9 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* WordPress Diff bastard child of old MediaWiki Diff Formatter. |
|
4 |
* |
|
5 |
* Basically all that remains is the table structure and some method names. |
|
6 |
* |
|
7 |
* @package WordPress |
|
8 |
* @subpackage Diff |
|
9 |
*/ |
|
10 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
11 |
if ( ! class_exists( 'Text_Diff', false ) ) { |
0 | 12 |
/** Text_Diff class */ |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
13 |
require( ABSPATH . WPINC . '/Text/Diff.php' ); |
0 | 14 |
/** Text_Diff_Renderer class */ |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
15 |
require( ABSPATH . WPINC . '/Text/Diff/Renderer.php' ); |
0 | 16 |
/** Text_Diff_Renderer_inline class */ |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
17 |
require( ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php' ); |
0 | 18 |
} |
19 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
20 |
require( ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php' ); |
9 | 21 |
require( ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php' ); |