Changeset 31217 for trunk/src/wp-includes/wp-diff.php
- Timestamp:
- 01/16/2015 09:18:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-diff.php
r31135 r31217 274 274 275 275 // If they're too different, don't include any <ins> or <dels> 276 if ( $diff_count =preg_match_all( '!(<ins>.*?</ins>|<del>.*?</del>)!', $diff, $diff_matches ) ) {276 if ( preg_match_all( '!(<ins>.*?</ins>|<del>.*?</del>)!', $diff, $diff_matches ) ) { 277 277 // length of all text between <ins> or <del> 278 278 $stripped_matches = strlen(strip_tags( join(' ', $diff_matches[0]) ));
Note: See TracChangeset
for help on using the changeset viewer.