CoreFiles by mySites.guru
wp-diff.php28 lines, 799 bytes, from wordpress-6.9.zip
Raw History Compare with 6.8.12
md5
1a4cab3f050dcf8295c8b6f24041b024
sha1
1071733d3c6e0f05c10ae0e26235aecb0897fbf2
sha256
ef74102e7489ef221a7b9fb340f9fb5159da6d9177c3db69c5ace951f9c523a8
<?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' ) ) {
	die( '-1' );
}

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 64 releases, WordPress 6.8-beta1 to 7.0.8. See them all, or every version of this file.