You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 rivejä
661 B

  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. if ( ! class_exists( 'Text_Diff', false ) ) {
  11. /** Text_Diff class */
  12. require( ABSPATH . WPINC . '/Text/Diff.php' );
  13. /** Text_Diff_Renderer class */
  14. require( ABSPATH . WPINC . '/Text/Diff/Renderer.php' );
  15. /** Text_Diff_Renderer_inline class */
  16. require( ABSPATH . WPINC . '/Text/Diff/Renderer/inline.php' );
  17. }
  18. require( ABSPATH . WPINC . '/class-wp-text-diff-renderer-table.php' );
  19. require( ABSPATH . WPINC . '/class-wp-text-diff-renderer-inline.php' );