mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 07:04:34 +00:00
8a54057af7a86aa84a9a5f5d0dec38d37b5e4f2b
WP_Text_Diff_Renderer_Table.
`WP_Text_Diff_Renderer_Table` is used to generate the diff view in revisions, but there were some cases that could cause it to take excessive amounts of time to run. Some noteable cases include: - When a large number of new lines were inserted in the middle of the post from one revision to the next. - When both revisions contain >100 lines. - When either revision contains a lot of long lines. In one extreme test case, the diff view took over a minute to generate. With this change, it now takes less than a second. Merges [43775] from the 5.0 branch to trunk. Fixes #35667. git-svn-id: https://develop.svn.wordpress.org/trunk@44129 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%