CoreFiles by mySites.guru
wp-diff.php21 lines, 647 bytes, from wordpress-5.5.13.zip
Raw History Compare with 5.5.12
md5
2091c92d78f1953cc47a5ea457657412
sha1
49475f5d5679dc7b288c5aacdef6344f111d94d0
sha256
8e9fe598a0254c2ec5b002ef0b2a00d209741204831ffbc8219a4949abdc92b5
<?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';
}

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 375 releases, WordPress 5.4-beta1 to 6.6.11. See them all, or every version of this file.