Ticket #24254: 24254.patch
| File 24254.patch, 1.1 KB (added by , 14 years ago) |
|---|
-
wp-includes/wp-diff.php
154 154 $r = ''; 155 155 foreach ($lines as $line) { 156 156 if ( $encode ) 157 $line = wp_kses_post( $line );157 $line = esc_html( $line ); 158 158 if ( $this->_show_split_view ) { 159 159 $r .= '<tr>' . $this->emptyLine() . $this->emptyLine() . $this->addedLine( $line ) . "</tr>\n"; 160 160 } else { … … 176 176 $r = ''; 177 177 foreach ($lines as $line) { 178 178 if ( $encode ) 179 $line = wp_kses_post( $line );179 $line = esc_html( $line ); 180 180 if ( $this->_show_split_view ) { 181 181 $r .= '<tr>' . $this->deletedLine( $line ) . $this->emptyLine() . $this->emptyLine() . "</tr>\n"; 182 182 } else { … … 199 199 $r = ''; 200 200 foreach ($lines as $line) { 201 201 if ( $encode ) 202 $line = wp_kses_post( $line );202 $line = esc_html( $line ); 203 203 if ( $this->_show_split_view ) { 204 204 $r .= '<tr>' . $this->contextLine( $line ) . $this->emptyLine() . $this->contextLine( $line ) . "</tr>\n"; 205 205 } else {