CoreFiles by mySites.guru
wp-diff.php28 lines, 792 bytes, from wordpress-7.1.zip
Raw History Compare with 7.0.8
md5
bb513972a98d47504e37b38d678c3736
sha1
5796d2952ac50ec5487e8ada06c9998f25f7c460
sha256
a548d1d1fc9d7a9b62713c3fe5c83bb895e3b7a222bc383c1592a7c6f6450cdc
<?php
/**
 * 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
 */

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'Text_Diff', false ) ) {
	/** Text_Diff class */
	require ABSPATH . WPINC . '/Text/Diff.php';
	/** Text_Diff_Renderer class */
	require ABSPATH . WPINC . '/Text/Diff/Renderer.php';
	/** Text_Diff_Renderer_inline class */
	require ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php';
	/** Text_Exception class */
	require ABSPATH . WPINC . '/Text/Exception.php';
}

require ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php';
require ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php';

The same content is in 19 releases, WordPress 7.1-beta1 to 7.2-beta5. See them all, or every version of this file.