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
11// Don't load directly.
12if ( ! defined( 'ABSPATH' ) ) {
13 die( '-1' );
14}
15
16if ( ! class_exists( 'Text_Diff', false ) ) {
17 /** Text_Diff class */
18 require ABSPATH . WPINC . '/Text/Diff.php';
19 /** Text_Diff_Renderer class */
20 require ABSPATH . WPINC . '/Text/Diff/Renderer.php';
21 /** Text_Diff_Renderer_inline class */
22 require ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php';
23 /** Text_Exception class */
24 require ABSPATH . WPINC . '/Text/Exception.php';
25}
26
27require ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php';
28require ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php';
29