Make WordPress Core


Ignore:
Timestamp:
02/19/2010 01:25:26 AM (15 years ago)
Author:
nacin
Message:

Update Text_Diff. Props simek. Fixes #9467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/Text/Diff/Engine/xdiff.php

    r7747 r13211  
    66 * to compute the differences between the two input arrays.
    77 *
    8  * $Horde: framework/Text_Diff/Diff/Engine/xdiff.php,v 1.6 2008/01/04 10:07:50 jan Exp $
    9  *
    10  * Copyright 2004-2008 The Horde Project (http://www.horde.org/)
     8 * Copyright 2004-2010 The Horde Project (http://www.horde.org/)
    119 *
    1210 * See the enclosed file COPYING for license information (LGPL). If you did
     
    4341        $edits = array();
    4442        foreach ($diff as $line) {
     43            if (!strlen($line)) {
     44                continue;
     45            }
    4546            switch ($line[0]) {
    4647            case ' ':
Note: See TracChangeset for help on using the changeset viewer.