- Timestamp:
- 01/27/2021 09:52:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-text-diff-renderer-table.php
r49193 r50034 177 177 178 178 if ( $this->_show_split_view ) { 179 $r .= '<tr>' . $this->emptyLine() . $this-> emptyLine() . $this->addedLine( $line ) . "</tr>\n";179 $r .= '<tr>' . $this->emptyLine() . $this->addedLine( $line ) . "</tr>\n"; 180 180 } else { 181 181 $r .= '<tr>' . $this->addedLine( $line ) . "</tr>\n"; … … 202 202 } 203 203 if ( $this->_show_split_view ) { 204 $r .= '<tr>' . $this->deletedLine( $line ) . $this->emptyLine() . $this->emptyLine() ."</tr>\n";204 $r .= '<tr>' . $this->deletedLine( $line ) . $this->emptyLine() . "</tr>\n"; 205 205 } else { 206 206 $r .= '<tr>' . $this->deletedLine( $line ) . "</tr>\n"; … … 227 227 } 228 228 if ( $this->_show_split_view ) { 229 $r .= '<tr>' . $this->contextLine( $line ) . $this-> emptyLine() . $this->contextLine( $line ) . "</tr>\n";229 $r .= '<tr>' . $this->contextLine( $line ) . $this->contextLine( $line ) . "</tr>\n"; 230 230 } else { 231 231 $r .= '<tr>' . $this->contextLine( $line ) . "</tr>\n"; … … 320 320 } else { // A true changed row. 321 321 if ( $this->_show_split_view ) { 322 $r .= '<tr>' . $this->deletedLine( $orig_line ) . $this-> emptyLine() . $this->addedLine( $final_line ) . "</tr>\n";322 $r .= '<tr>' . $this->deletedLine( $orig_line ) . $this->addedLine( $final_line ) . "</tr>\n"; 323 323 } else { 324 324 $r .= '<tr>' . $this->deletedLine( $orig_line ) . '</tr><tr>' . $this->addedLine( $final_line ) . "</tr>\n";
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)