Make WordPress Core

Ticket #25865: 25865.2.diff

File 25865.2.diff, 1.1 KB (added by nofearinc, 13 years ago)

diff'd from root WP dir

  • wp-includes/wp-diff.php

     
    391391                }
    392392
    393393                return array($orig_matches, $final_matches, $orig_rows, $final_rows);
    394 
    395 /*
    396                 // Debug
    397                 echo "\n\n\n\n\n";
    398 
    399                 echo "-- DEBUG Matches: Orig -> Final --";
    400 
    401                 foreach ( $orig_matches as $o => $f ) {
    402                         echo "\n\n\n\n\n";
    403                         echo "ORIG: $o, FINAL: $f\n";
    404                         var_dump($orig[$o],$final[$f]);
    405                 }
    406                 echo "\n\n\n\n\n";
    407 
    408                 echo "-- DEBUG Matches: Final -> Orig --";
    409 
    410                 foreach ( $final_matches as $f => $o ) {
    411                         echo "\n\n\n\n\n";
    412                         echo "FINAL: $f, ORIG: $o\n";
    413                         var_dump($final[$f],$orig[$o]);
    414                 }
    415                 echo "\n\n\n\n\n";
    416 
    417                 echo "-- DEBUG Rows: Orig -- Final --";
    418 
    419                 echo "\n\n\n\n\n";
    420                 foreach ( $orig_rows as $row => $o ) {
    421                         if ( $o < 0 )
    422                                 $o = 'X';
    423                         $f = $final_rows[$row];
    424                         if ( $f < 0 )
    425                                 $f = 'X';
    426                         echo "$o -- $f\n";
    427                 }
    428                 echo "\n\n\n\n\n";
    429 
    430                 echo "-- END DEBUG --";
    431 
    432                 echo "\n\n\n\n\n";
    433 
    434                 return array($orig_matches, $final_matches, $orig_rows, $final_rows);
    435 */
    436394        }
    437395
    438396        /**