Make WordPress Core

Ticket #24372: 24372.diff

File 24372.diff, 507 bytes (added by aaroncampbell, 13 years ago)
  • wp-includes/Text/Diff.php

     
    205205     * @param string $line  The line to trim.
    206206     * @param integer $key  The index of the line in the array. Not used.
    207207     */
    208     function trimNewlines(&$line, $key)
     208    static function trimNewlines(&$line, $key)
    209209    {
    210210        $line = str_replace(array("\n", "\r"), '', $line);
    211211    }