sirius-press/wp-includes/wp-diff.php
Silent Mode 1f173de885 WordPress 7.1.1
Pristine upstream, unpacked from the official wordpress.org tarball.

  https://wordpress.org/wordpress-7.1.1.tar.gz
  sha1   2a9d68474e8703aa3a66f80427b325e0941b6a1e  (published by wordpress.org)
  sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3

This branch carries nothing but upstream releases, one commit each, and is
never edited. It is the other side of the git-subtree merge that brings
security releases into SiriusPress/wordpress/ — see
SiriusPress/docs/upstream-merges.md.
2026-09-21 02:53:57 +02:00

28 lines
792 B
PHP

<?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';