mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -210,7 +210,6 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
// row < 0: a blank row for that column
|
||||
list($orig_matches, $final_matches, $orig_rows, $final_rows) = $this->interleave_changed_lines( $orig, $final );
|
||||
|
||||
|
||||
// These will hold the word changes as determined by an inline diff
|
||||
$orig_diffs = array();
|
||||
$final_diffs = array();
|
||||
@@ -329,7 +328,6 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
ksort($orig_matches);
|
||||
ksort($final_matches);
|
||||
|
||||
|
||||
// Stores rows and blanks for each column.
|
||||
$orig_rows = $orig_rows_copy = array_keys($orig_matches);
|
||||
$final_rows = array_keys($final_matches);
|
||||
@@ -353,7 +351,6 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Pad the ends with blank rows if the columns aren't the same length
|
||||
$diff_count = count($orig_rows) - count($final_rows);
|
||||
if ( $diff_count < 0 ) {
|
||||
|
||||
Reference in New Issue
Block a user