WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11648 closed enhancement (duplicate)

External: Text_Diff Version 1.1.1 (Current: 1.0.0)

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Revisions Keywords: has-patch 2nd-opinion
Focuses: Cc:

Description

Text_Diff Changelog:

  • Make sure that the diff string ends with a line break (PEAR Bug #14533). (1.1.1)
  • Fix notices if xdiff engine creates empty lines (PEAR Bug #16240). (1.1.1)
  • Fix inline renderer if xdiff extension is installed. (1.1.1)
  • Add countAddedLines() and countDeletedLines() methods (Christian King, PEAR Request #13183). (1.1.0)
  • Improve string engine if patch data has no header (PEAR Bug #14533). (1.1.0)
  • Fix autodetection of diff type in string engine (PEAR Bug #14625). (1.1.0)

Attachments (2)

11648.patch (10.2 KB) - added by hakre 5 years ago.
11648.2.patch (11.7 KB) - added by hakre 5 years ago.

Download all attachments as: .zip

Change History (6)

@hakre5 years ago

comment:1 @hakre5 years ago

  • Keywords 2nd-opinion added

First patch, source aquired here: http://pear.php.net/package/Text_Diff

I removed some files from the package they weren't in WP before as well. Includes have been adopted to WP's needs.

The person who originally moved Text_Diff in should please review.

@hakre5 years ago

comment:2 @hakre5 years ago

Patch updated with =& new assignment operators (PHP4 compat).

comment:3 @nacin5 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 @nacin5 years ago

  • Component changed from General to Revisions
  • Milestone 3.0 deleted
  • Type changed from task (blessed) to enhancement
Note: See TracTickets for help on using tickets.