- Timestamp:
- 10/18/2020 05:25:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-text-diff-renderer-table.php
r48586 r49193 275 275 if ( preg_match_all( '!(<ins>.*?</ins>|<del>.*?</del>)!', $diff, $diff_matches ) ) { 276 276 // Length of all text between <ins> or <del>. 277 $stripped_matches = strlen( strip_tags( join( ' ', $diff_matches[0] ) ) );277 $stripped_matches = strlen( strip_tags( implode( ' ', $diff_matches[0] ) ) ); 278 278 // Since we count length of text between <ins> or <del> (instead of picking just one), 279 279 // we double the length of chars not in those tags.
Note: See TracChangeset
for help on using the changeset viewer.