[wp-trac] [WordPress Trac] #35667: Maximum execution time error in WP_Text_Diff_Renderer_Table
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Mar  7 16:17:19 UTC 2016
    
    
  
#35667: Maximum execution time error in WP_Text_Diff_Renderer_Table
-------------------------------------+-----------------------
 Reporter:  ocean90                  |       Owner:  ocean90
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.5
Component:  Revisions                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------
Changes (by codex-m):
 * keywords:  needs-testing needs-patch => needs-testing has-patch
Comment:
 OK I have found a reliable PHP custom equivalent of Levenshtein that will
 process more than 255 characters. Also I find a bit faster than the
 previous examples. In my test, there is no more maximum execution timeout
 error on sensible long strings or text. This is customized example is
 based here: http://php.net/manual/en/function.levenshtein.php#85387
 I attached 35667.4.patch adjusted to WordPress implementation :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35667#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list