Changeset 24192 for trunk/wp-includes/wp-diff.php
- Timestamp:
- 05/07/2013 08:34:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-diff.php
r23506 r24192 155 155 foreach ($lines as $line) { 156 156 if ( $encode ) 157 $line = wp_kses_post( $line );157 $line = htmlspecialchars( $line ); 158 158 if ( $this->_show_split_view ) { 159 159 $r .= '<tr>' . $this->emptyLine() . $this->emptyLine() . $this->addedLine( $line ) . "</tr>\n"; … … 177 177 foreach ($lines as $line) { 178 178 if ( $encode ) 179 $line = wp_kses_post( $line );179 $line = htmlspecialchars( $line ); 180 180 if ( $this->_show_split_view ) { 181 181 $r .= '<tr>' . $this->deletedLine( $line ) . $this->emptyLine() . $this->emptyLine() . "</tr>\n"; … … 200 200 foreach ($lines as $line) { 201 201 if ( $encode ) 202 $line = wp_kses_post( $line );202 $line = htmlspecialchars( $line ); 203 203 if ( $this->_show_split_view ) { 204 204 $r .= '<tr>' . $this->contextLine( $line ) . $this->emptyLine() . $this->contextLine( $line ) . "</tr>\n";
Note: See TracChangeset
for help on using the changeset viewer.