CoreFiles by mySites.guru
wp-diff.php23 lines, 726 bytes, from wordpress-6.7.zip
Raw History Compare with 6.6.11
md5
225398c8e65416477fb3d7c830a25e2b
sha1
e7c4f67384776e05aba8b3b577364ba44b6506f8
sha256
ef50c75dfadbc114e9fc0a322d6fb624d0c515f92a2cfd16cc14fc0839298900
<?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
 */

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 23 releases, WordPress 6.7-beta1 to 6.7.11. See them all, or every version of this file.