author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:40:08 +0200 | |
changeset 21 | 48c4eec2b7e6 |
parent 16 | a86126ab1dd4 |
child 22 | 8c2e4d02f4ef |
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 */ |
16 | 13 |
require ABSPATH . WPINC . '/Text/Diff.php'; |
0 | 14 |
/** Text_Diff_Renderer class */ |
16 | 15 |
require ABSPATH . WPINC . '/Text/Diff/Renderer.php'; |
0 | 16 |
/** Text_Diff_Renderer_inline class */ |
16 | 17 |
require ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php'; |
0 | 18 |
} |
19 |
||
16 | 20 |
require ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php'; |
21 |
require ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php'; |