Make WordPress Core


Ignore:
Timestamp:
05/25/2013 09:38:25 PM (13 years ago)
Author:
nacin
Message:

Remove deprecated pass-by-reference from the Text_Diff external library. Upstream is not back compat. see #24372.

File:
1 edited

Legend:

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

    r13211 r24362  
    9999                             * for the trailing context. */
    100100                            $context = array_slice($edit->orig, 0, $ntrail);
    101                             $block[] = &new Text_Diff_Op_copy($context);
     101                            $block[] = new Text_Diff_Op_copy($context);
    102102                        }
    103103                        /* @todo */
     
    119119                    $block = array();
    120120                    if ($context) {
    121                         $block[] = &new Text_Diff_Op_copy($context);
     121                        $block[] = new Text_Diff_Op_copy($context);
    122122                    }
    123123                }
Note: See TracChangeset for help on using the changeset viewer.