ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

wp-diff.php (647B)


      1 <?php
      2 /**
      3  * WordPress Diff bastard child of old MediaWiki Diff Formatter.
      4  *
      5  * Basically all that remains is the table structure and some method names.
      6  *
      7  * @package WordPress
      8  * @subpackage Diff
      9  */
     10 
     11 if ( ! class_exists( 'Text_Diff', false ) ) {
     12 	/** Text_Diff class */
     13 	require ABSPATH . WPINC . '/Text/Diff.php';
     14 	/** Text_Diff_Renderer class */
     15 	require ABSPATH . WPINC . '/Text/Diff/Renderer.php';
     16 	/** Text_Diff_Renderer_inline class */
     17 	require ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php';
     18 }
     19 
     20 require ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php';
     21 require ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php';